search for: 90f51be

Displaying 4 results from an estimated 4 matches for "90f51be".

2009 Aug 10
1
[PATCH] qemu/virtio: move features to an inline function
...t.c @@ -154,7 +154,7 @@ static uint32_t virtio_net_get_features(VirtIODevice *vdev) } #endif - return features; + return features | virtio_common_features(); } static uint32_t virtio_net_bad_features(VirtIODevice *vdev) diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 3b9bfd1..90f51be 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -232,9 +232,6 @@ static uint32_t virtio_ioport_read(VirtIOPCIProxy *proxy, uint32_t addr) switch (addr) { case VIRTIO_PCI_HOST_FEATURES: ret = vdev->get_features(vdev); - ret |= (1 << VIRTIO_F_NOTIFY_ON_EMPTY);...
2009 Aug 10
1
[PATCH] qemu/virtio: move features to an inline function
...t.c @@ -154,7 +154,7 @@ static uint32_t virtio_net_get_features(VirtIODevice *vdev) } #endif - return features; + return features | virtio_common_features(); } static uint32_t virtio_net_bad_features(VirtIODevice *vdev) diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 3b9bfd1..90f51be 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -232,9 +232,6 @@ static uint32_t virtio_ioport_read(VirtIOPCIProxy *proxy, uint32_t addr) switch (addr) { case VIRTIO_PCI_HOST_FEATURES: ret = vdev->get_features(vdev); - ret |= (1 << VIRTIO_F_NOTIFY_ON_EMPTY);...
2009 Aug 10
0
[PATCH 3/3] qemu-kvm: vhost-net implementation
...->vdev.nvectors = dev->nd->nvectors; + n->vhost_device = dev->nd->vhost_device; register_savevm("virtio-net", virtio_net_id++, VIRTIO_NET_VM_VERSION, virtio_net_save, virtio_net_load, n); diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 90f51be..8484562 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -15,10 +15,12 @@ #include <inttypes.h> +#include <linux/kvm.h> #include "virtio.h" #include "pci.h" //#include "sysemu.h" #include "msix.h" +#include "qemu-kvm.h"...
2009 Aug 10
0
[PATCH 3/3] qemu-kvm: vhost-net implementation
...->vdev.nvectors = dev->nd->nvectors; + n->vhost_device = dev->nd->vhost_device; register_savevm("virtio-net", virtio_net_id++, VIRTIO_NET_VM_VERSION, virtio_net_save, virtio_net_load, n); diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 90f51be..8484562 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -15,10 +15,12 @@ #include <inttypes.h> +#include <linux/kvm.h> #include "virtio.h" #include "pci.h" //#include "sysemu.h" #include "msix.h" +#include "qemu-kvm.h"...