projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3e12c
)
qemu: remove control vector save
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 1 Jul 2009 13:28:06 +0000
(16:28 +0300)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 9 Jul 2009 21:58:08 +0000
(16:58 -0500)
control vector is saved/restored by virtio-pci,
it does not belong in virtio.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio.c
patch
|
blob
|
history
diff --git
a/hw/virtio.c
b/hw/virtio.c
index
843be86
..
41e7ca2
100644
(file)
--- a/
hw/virtio.c
+++ b/
hw/virtio.c
@@
-626,9
+626,6
@@
void virtio_save(VirtIODevice *vdev, QEMUFile *f)
qemu_put_be32(f, vdev->config_len);
qemu_put_buffer(f, vdev->config, vdev->config_len);
- if (vdev->nvectors)
- qemu_put_be16s(f, &vdev->config_vector);
-
for (i = 0; i < VIRTIO_PCI_QUEUE_MAX; i++) {
if (vdev->vq[i].vring.num == 0)
break;