qemu/include/hw/i386
David Woodhouse c10b4b3c0d hw/i386/pc: support '-nic' for xen-net-device
The default NIC creation seems a bit hackish to me. I don't understand
why each platform has to call pci_nic_init_nofail() from a point in the
code where it actually has a pointer to the PCI bus, and then we have
the special cases for things like ne2k_isa.

If qmp_device_add() can *find* the appropriate bus and instantiate
the device on it, why can't we just do that from generic code for
creating the default NICs too?

But that isn't a yak I want to shave today. Add a xenbus field to the
PCMachineState so that it can make its way from pc_basic_device_init()
to pc_nic_init() and be handled as a special case like ne2k_isa is.

Now we can launch emulated Xen guests with '-nic user'.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
2023-11-07 08:54:20 +00:00
..
apic_internal.h hw/intc: Extract the IRQ counting functions into a separate file 2023-01-13 16:22:57 +01:00
apic-msidef.h
apic.h hw/intc: Extract the IRQ counting functions into a separate file 2023-01-13 16:22:57 +01:00
hostmem-epc.h
intel_iommu.h hw/i386/intel_iommu: Fix endianness problems related to VTD_IR_TableEntry 2023-08-03 16:06:49 -04:00
microvm.h Revert "x86: don't let decompressed kernel image clobber setup_data" 2023-03-02 03:10:46 -05:00
pc.h hw/i386/pc: support '-nic' for xen-net-device 2023-11-07 08:54:20 +00:00
sgx-epc.h include: Include headers where needed 2023-01-08 01:54:22 -05:00
topology.h i386: spelling fixes 2023-09-20 07:54:34 +03:00
vmport.h
x86-iommu.h include/hw/i386/x86-iommu: Fix struct X86IOMMU_MSIMessage for big endian hosts 2023-08-03 16:16:17 -04:00
x86.h include/hw/i386: Clean up includes in x86.h 2023-03-07 14:30:42 +01:00
xen_arch_hvm.h xen-hvm: reorganize xen-hvm and move common function to xen-hvm-common 2023-06-15 16:45:59 -07:00