cirrus: avoid write only variables
Compiling with GCC 4.6.0 20100925 produced a lot of warnings like:In file included from /src/qemu/hw/cirrus_vga_rop.h:174:0, from /src/qemu/hw/cirrus_vga.c:284:/src/qemu/hw/cirrus_vga_rop2.h: In function 'cirrus_patternfill_0_8':...
Merge remote branch 'mst/for_anthony' into staging
acpi: Fix an infinite loop in acpi_table_add
Commit d729bb9a7700e364b1c5f9893d61f07a9e002bce has a typo, causing aninfinite loop in acpi_table_add.
Signed-off-by: Vincent Minet <vincent@vincent-minet.net>Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>...
virtio: invoke set_status callback on reset
As status is set to 0 on reset, invoke the relevant callback. This makesfor a cleaner code in devices as they don't need to duplicate the codein their reset routine, as well as excercises this path a little more....
virtio-net: unify vhost-net start/stop
Move all of vhost-net start/stop logic to a single routine,and call it from everywhere.
Additionally, start/stop vhost-net on link up/down:we should not transmit anything if user asked us toput the link down.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>...
eepro100: Add support for multiple individual addresses (multiple IA)
I reviewed the latest sources of Linux, FreeBSD and NetBSD.They all reset the multiple IA bit (multi_ia in BSD) to zero,but I did not find code which sets this bit to one(like it is done by some routers)....
virtio: change set guest notifier to per-device
When using irqfd with vhost-net to inject interrupts,a single evenfd might inject multiple interrupts.Implementing this is much easier with a singleper-device callback to set guest notifiers.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
vhost: error code
fix up errors returned to include errno, not just -1
Merge remote branch 'qmp/for-anthony' into staging
Fix spelling in comments
multifuction -> multifunctionsuccessfull -> successful.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
View revisions
Also available in: Atom