search for: pci_rtl8139_init

Displaying 4 results from an estimated 4 matches for "pci_rtl8139_init".

2012 Sep 10
1
[Problem with xen-4.1.2] Creating device model failed when disable `-vnc` related option in qemu-dm
...fered io page at pfn feffb Guest uuid = d06b08f0-491f-43d6-9a01-ac317aea5034 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. qemu: match NIC model: rtl8139 pci_rtl8139_init: s->macaddr: 0 16 3e eb ca 66 xs_read(/local/domain/0/device-model/2/xen_extended_power_mgmt): read error _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 2/7] userspace virtio
.....545901c 100644 --- a/qemu/hw/pci.c +++ b/qemu/hw/pci.c @@ -25,6 +25,7 @@ #include "pci.h" #include "console.h" #include "net.h" +#include "pc.h" //#define DEBUG_PCI @@ -638,9 +639,11 @@ void pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn) pci_rtl8139_init(bus, nd, devfn); } else if (strcmp(nd->model, "pcnet") == 0) { pci_pcnet_init(bus, nd, devfn); + } else if (strcmp(nd->model, "virtio") == 0) { + virtio_net_init(bus, nd, devfn); } else if (strcmp(nd->model, "?") == 0) { fprin...
2007 Dec 21
0
[Virtio-for-kvm] [PATCH 2/7] userspace virtio
.....545901c 100644 --- a/qemu/hw/pci.c +++ b/qemu/hw/pci.c @@ -25,6 +25,7 @@ #include "pci.h" #include "console.h" #include "net.h" +#include "pc.h" //#define DEBUG_PCI @@ -638,9 +639,11 @@ void pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn) pci_rtl8139_init(bus, nd, devfn); } else if (strcmp(nd->model, "pcnet") == 0) { pci_pcnet_init(bus, nd, devfn); + } else if (strcmp(nd->model, "virtio") == 0) { + virtio_net_init(bus, nd, devfn); } else if (strcmp(nd->model, "?") == 0) { fprin...
2012 Jan 24
2
[PATCH 26/28] pci: convert to QEMU Object Model
...et_handler, + .vmsd = &qxl_vmstate, + .props = qxl_properties, + .class_init = qxl_secondary_class_init, }; static void qxl_register(void) diff --git a/hw/rtl8139.c b/hw/rtl8139.c index 2b55c7f..15dec9b 100644 --- a/hw/rtl8139.c +++ b/hw/rtl8139.c @@ -3494,22 +3494,31 @@ static int pci_rtl8139_init(PCIDevice *dev) return 0; } -static PCIDeviceInfo rtl8139_info = { - .qdev.name = "rtl8139", - .qdev.size = sizeof(RTL8139State), - .qdev.reset = rtl8139_reset, - .qdev.vmsd = &vmstate_rtl8139, - .init = pci_rtl8139_init, - .exit = pci_rtl8139_...