qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2][PULL] vfio-pci fixes
@ 2012-10-18 20:51 Alex Williamson
  2012-10-18 20:51 ` [Qemu-devel] [PATCH 1/2] vfio-pci: Fix debug build Alex Williamson
  2012-10-18 20:51 ` [Qemu-devel] [PATCH 2/2] vfio-pci: Mark non-migratable Alex Williamson
  0 siblings, 2 replies; 3+ messages in thread
From: Alex Williamson @ 2012-10-18 20:51 UTC (permalink / raw)
  To: anthony, qemu-devel; +Cc: alex.williamson, kvm

Anthony,

The following changes since commit 1414968a6aecd23cb037bc9e718d6f05ead2afaf:

  tcg: Optimize mulu2 (2012-10-17 17:51:39 +0200)

are available in the git repository at:

  git://github.com/awilliam/qemu-vfio.git tags/vfio-pci-for-qemu-20121017.0

for you to fetch changes up to d9f0e63898d639629bb7eb914786529185334635:

  vfio-pci: Mark non-migratable (2012-10-17 11:20:14 -0600)

----------------------------------------------------------------
vfio-pci fixes 20121017.0

Just a pair of trivial fixes to get in before I'm offline for
a couple weeks.  Thanks,

Alex

----------------------------------------------------------------
Alex Williamson (2):
      vfio-pci: Fix debug build
      vfio-pci: Mark non-migratable

 hw/vfio_pci.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PATCH 1/2] vfio-pci: Fix debug build
  2012-10-18 20:51 [Qemu-devel] [PATCH 0/2][PULL] vfio-pci fixes Alex Williamson
@ 2012-10-18 20:51 ` Alex Williamson
  2012-10-18 20:51 ` [Qemu-devel] [PATCH 2/2] vfio-pci: Mark non-migratable Alex Williamson
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Williamson @ 2012-10-18 20:51 UTC (permalink / raw)
  To: anthony, qemu-devel; +Cc: alex.williamson, kvm

Stray variable from before MSI-X rework

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---

 hw/vfio_pci.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hw/vfio_pci.c b/hw/vfio_pci.c
index 639371e..0619af4 100644
--- a/hw/vfio_pci.c
+++ b/hw/vfio_pci.c
@@ -639,9 +639,8 @@ static void vfio_disable_msix(VFIODevice *vdev)
 
     vfio_disable_msi_common(vdev);
 
-    DPRINTF("%s(%04x:%02x:%02x.%x, msi%s)\n", __func__,
-            vdev->host.domain, vdev->host.bus, vdev->host.slot,
-            vdev->host.function, msix ? "x" : "");
+    DPRINTF("%s(%04x:%02x:%02x.%x)\n", __func__, vdev->host.domain,
+            vdev->host.bus, vdev->host.slot, vdev->host.function);
 }
 
 static void vfio_disable_msi(VFIODevice *vdev)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PATCH 2/2] vfio-pci: Mark non-migratable
  2012-10-18 20:51 [Qemu-devel] [PATCH 0/2][PULL] vfio-pci fixes Alex Williamson
  2012-10-18 20:51 ` [Qemu-devel] [PATCH 1/2] vfio-pci: Fix debug build Alex Williamson
@ 2012-10-18 20:51 ` Alex Williamson
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Williamson @ 2012-10-18 20:51 UTC (permalink / raw)
  To: anthony, qemu-devel; +Cc: alex.williamson, kvm

We haven't magically fixed this yet.  Toss in a description too.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---

 hw/vfio_pci.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/hw/vfio_pci.c b/hw/vfio_pci.c
index 0619af4..d5ff367 100644
--- a/hw/vfio_pci.c
+++ b/hw/vfio_pci.c
@@ -1946,6 +1946,10 @@ static Property vfio_pci_dev_properties[] = {
     DEFINE_PROP_END_OF_LIST(),
 };
 
+static const VMStateDescription vfio_pci_vmstate = {
+    .name = "vfio-pci",
+    .unmigratable = 1,
+};
 
 static void vfio_pci_dev_class_init(ObjectClass *klass, void *data)
 {
@@ -1954,6 +1958,8 @@ static void vfio_pci_dev_class_init(ObjectClass *klass, void *data)
 
     dc->reset = vfio_pci_reset;
     dc->props = vfio_pci_dev_properties;
+    dc->vmsd = &vfio_pci_vmstate;
+    dc->desc = "VFIO-based PCI device assignment";
     pdc->init = vfio_initfn;
     pdc->exit = vfio_exitfn;
     pdc->config_read = vfio_pci_read_config;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-18 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-18 20:51 [Qemu-devel] [PATCH 0/2][PULL] vfio-pci fixes Alex Williamson
2012-10-18 20:51 ` [Qemu-devel] [PATCH 1/2] vfio-pci: Fix debug build Alex Williamson
2012-10-18 20:51 ` [Qemu-devel] [PATCH 2/2] vfio-pci: Mark non-migratable Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).