mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
microvm: add usb support
Wire up "usb=on" machine option, when enabled add a sysbus xhci controller with 8 ports. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20201020074844.5304-6-kraxel@redhat.com
This commit is contained in:
parent
7114f6eac3
commit
d4a42e8581
4 changed files with 27 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
* 7 | parallel |
|
||||
* 8 | rtc | rtc (rtc=on)
|
||||
* 9 | acpi | acpi (ged)
|
||||
* 10 | pci lnk |
|
||||
* 10 | pci lnk | xhci (usb=on)
|
||||
* 11 | pci lnk |
|
||||
* 12 | ps2 | pcie
|
||||
* 13 | fpu | pcie
|
||||
|
@ -60,6 +60,9 @@
|
|||
#define GED_MMIO_BASE_REGS (GED_MMIO_BASE + 0x200)
|
||||
#define GED_MMIO_IRQ 9
|
||||
|
||||
#define MICROVM_XHCI_BASE 0xfe900000
|
||||
#define MICROVM_XHCI_IRQ 10
|
||||
|
||||
#define PCIE_MMIO_BASE 0xc0000000
|
||||
#define PCIE_MMIO_SIZE 0x20000000
|
||||
#define PCIE_ECAM_BASE 0xe0000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue