summary refs log tree commit diff stats
path: root/scripts/tracetool/backend/dtrace.py
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2012-11-21 11:21:18 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2012-11-26 14:26:37 -0600
commit14417039653d3293a795646730a7bf5055d78709 (patch)
tree4c32716c715f9dbc1a8b547fef715d3ec30d2706 /scripts/tracetool/backend/dtrace.py
parent25d87288b150032fedcf7b5380fb54fdbdd6788d (diff)
downloadfocaccia-qemu-14417039653d3293a795646730a7bf5055d78709.tar.gz
focaccia-qemu-14417039653d3293a795646730a7bf5055d78709.zip
virtio-rng: use virtqueue_get_avail_bytes, fix migration
Popping an elem from the vq just to find out its length causes problems
with save/load later on.  Use the new virtqueue_get_avail_bytes()
function instead, saves us the complexity in the migration code, as well
as makes the migration endian-safe.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'scripts/tracetool/backend/dtrace.py')
0 files changed, 0 insertions, 0 deletions