Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Adding breaktrace & disabling timer migration"
[kvmfornfv.git]
/
qemu
/
include
/
hw
/
virtio
/
virtio-net.h
diff --git
a/qemu/include/hw/virtio/virtio-net.h
b/qemu/include/hw/virtio/virtio-net.h
index
60b11d5
..
0cabdb6
100644
(file)
--- a/
qemu/include/hw/virtio/virtio-net.h
+++ b/
qemu/include/hw/virtio/virtio-net.h
@@
-47,8
+47,7
@@
typedef struct VirtIONetQueue {
QEMUBH *tx_bh;
int tx_waiting;
struct {
QEMUBH *tx_bh;
int tx_waiting;
struct {
- VirtQueueElement elem;
- ssize_t len;
+ VirtQueueElement *elem;
} async_tx;
struct VirtIONet *n;
} VirtIONetQueue;
} async_tx;
struct VirtIONet *n;
} VirtIONetQueue;
@@
-95,6
+94,7
@@
typedef struct VirtIONet {
uint64_t curr_guest_offloads;
QEMUTimer *announce_timer;
int announce_counter;
uint64_t curr_guest_offloads;
QEMUTimer *announce_timer;
int announce_counter;
+ bool needs_vnet_hdr_swap;
} VirtIONet;
void virtio_net_set_netclient_name(VirtIONet *n, const char *name,
} VirtIONet;
void virtio_net_set_netclient_name(VirtIONet *n, const char *name,