aboutsummaryrefslogtreecommitdiff
path: root/include/hw/virtio
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2017-02-03 16:06:51 +0000
committerDr. David Alan Gilbert <dgilbert@redhat.com>2017-02-13 17:27:14 +0000
commit982b78c5e37864c06fd7b5f156d80bf02628a855 (patch)
tree5e8f6f6d1bceb0d7d94be54c47f0058c6642042c /include/hw/virtio
parent5c379d9031931fb1be52b96b25589abc7311f200 (diff)
downloadqemu-982b78c5e37864c06fd7b5f156d80bf02628a855.zip
qemu-982b78c5e37864c06fd7b5f156d80bf02628a855.tar.gz
qemu-982b78c5e37864c06fd7b5f156d80bf02628a855.tar.bz2
virtio/migration: Migrate virtio-net to VMState
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20170203160651.19917-5-dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Merge fix against Halil's removal of the '_start' field in VMSTATE_VBUFFER_MULTIPLY
Diffstat (limited to 'include/hw/virtio')
-rw-r--r--include/hw/virtio/virtio-net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h
index 8ea56a8..1eec9a2 100644
--- a/include/hw/virtio/virtio-net.h
+++ b/include/hw/virtio/virtio-net.h
@@ -47,7 +47,7 @@ typedef struct VirtIONetQueue {
VirtQueue *tx_vq;
QEMUTimer *tx_timer;
QEMUBH *tx_bh;
- int tx_waiting;
+ uint32_t tx_waiting;
struct {
VirtQueueElement *elem;
} async_tx;
@@ -68,7 +68,7 @@ typedef struct VirtIONet {
size_t guest_hdr_len;
uint32_t host_features;
uint8_t has_ufo;
- int mergeable_rx_bufs;
+ uint32_t mergeable_rx_bufs;
uint8_t promisc;
uint8_t allmulti;
uint8_t alluni;