[Qemu-devel] [PATCH RESEND v4 6/8] virtio-rng: cleanup: init and exit functions.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 87 +++--- include/hw/virtio/virtio.h | 2 -- 2

[Qemu-devel] [PATCH RESEND v4 5/8] virtio-rng-ccw: switch to the new API.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-rng-ccw is modified for the new API. The device virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device during the init. The properties are not changed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com

[Qemu-devel] [PATCH RESEND v4 8/8] virtio-rng: cleanup: use QOM casts.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-rng-pci, virtio-rng-s390 and virtio-rng-ccw are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com Reviewed-by: Andreas Färber afaer...@suse.de --- hw/virtio/virtio-rng.c |

[Qemu-devel] [PATCH RESEND v4 7/8] virtio-rng: cleanup: remove qdev field.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 2 -- include/hw/virtio/virtio-rng.h | 2 -- 2 files changed, 4 deletions(-) diff --git

[Qemu-devel] [PATCH v4 0/7] virtio-refactoring cleanup.

2013-04-24 Thread fred . konrad
removing. * Rebased. Changes v2 - v3: * Fix PCI hot-unplug. * Add CCW devices. * A lot of rebasing. Thanks, Fred KONRAD Frederic (7): virtio-bus: add new functions. virtio-bus: make virtio_x_bus_new static. virtio-pci: cleanup. virtio: remove the function pointer. virtio

[Qemu-devel] [PATCH v4 4/7] virtio: remove the function pointer.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove the function pointer in VirtIODevice, and use only VirtioDeviceClass function pointer. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 2 -- hw/block/virtio-blk.c | 5 -

[Qemu-devel] [PATCH v4 7/7] virtio: drop unused function prototypes.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This removes the unused prototypes in virtio.h. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- include/hw/virtio/virtio.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/include/hw/virtio/virtio.h

[Qemu-devel] [PATCH v4 1/7] virtio-bus: add new functions.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This add two functions: * virtio_bus_set_vdev_config. * virtio_bus_set_vdev_feature. Needed by virtio-ccw. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-bus.c | 23 +++

[Qemu-devel] [PATCH v4 2/7] virtio-bus: make virtio_x_bus_new static.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com virtio_x_bus_new are only used in file scope. So this make them static. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/s390x/s390-virtio-bus.c | 4 +++- hw/s390x/s390-virtio-bus.h | 2 -- hw/s390x/virtio-ccw.c | 4 +++-

[Qemu-devel] [PATCH v4 3/7] virtio-pci: cleanup.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove the init, exit functions as they are no longer used. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-pci.c | 54 ++ hw/virtio/virtio-pci.h | 2 -- 2 files

[Qemu-devel] [PATCH v4 5/7] virtio: remove virtiobindings.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove virtio-bindings, and use class instead. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/block/dataplane/virtio-blk.c | 15 - hw/net/vhost_net.c | 17 -- hw/s390x/s390-virtio-bus.c

[Qemu-devel] [PATCH v4 6/7] virtio: cleanup: init and exit function.

2013-04-24 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This clean the init and the exit functions and rename virtio_common_cleanup to virtio_cleanup. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/block/virtio-blk.c | 4 ++-- hw/char/virtio-serial-bus.c | 2 +-

[Qemu-devel] [PATCH v4 0/4] virtio-9p refactoring.

2013-04-23 Thread fred . konrad
: * Rebased. Thanks, Fred KONRAD Frederic (4): virtio-9p: add the virtio-9p device. virtio-9p-pci: switch to the new API. virtio-9p: cleanup: init function. virtio-9p: cleanup: QOM casts. hw/9pfs/virtio-9p-device.c | 91 +- hw/9pfs/virtio-9p.c

[Qemu-devel] [PATCH v4 1/4] virtio-9p: add the virtio-9p device.

2013-04-23 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-9p-device which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 73 +-

[Qemu-devel] [PATCH v4 2/4] virtio-9p-pci: switch to the new API.

2013-04-23 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-9p-pci is modified for the new API. The device virtio-9p-pci extends virtio-pci. It creates and connects a virtio-9p-device during the init. The properties are not changed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com

[Qemu-devel] [PATCH v4 3/4] virtio-9p: cleanup: init function.

2013-04-23 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init function as it is no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 75 ++ 1 file changed, 23 insertions(+), 52 deletions(-)

[Qemu-devel] [PATCH v4 4/4] virtio-9p: cleanup: QOM casts.

2013-04-23 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-9p-pci is switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 11 +++ hw/9pfs/virtio-9p.c| 2 +- hw/9pfs/virtio-9p.h| 2 +-

[Qemu-devel] [PATCH RESEND v3 0/4] virtio-9p refactoring.

2013-04-19 Thread fred . konrad
virtio-pci and have a virtio-9p-device. You can checkout my branch here: git://project.greensocs.com/qemu-virtio.git virtio-9p-v3 I made basic tests (with linux guests) on: * qemu-system-i386 Changes v2 - v3: * Renamed device virtio-9p = virtio-9p-device. * Rebased. Thanks, Fred

[Qemu-devel] [PATCH RESEND v3 1/4] virtio-9p: add the virtio-9p device.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-9p which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 73 +- hw/9pfs/virtio-9p.h

[Qemu-devel] [PATCH RESEND v3 2/4] virtio-9p-pci: switch to the new API.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-9p-pci is modified for the new API. The device virtio-9p-pci extends virtio-pci. It creates and connects a virtio-9p during the init. The properties are not changed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com ---

[Qemu-devel] [PATCH RESEND v3 4/4] virtio-9p: cleanup: QOM casts.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-9p-pci is switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 11 +++ hw/9pfs/virtio-9p.c| 2 +- hw/9pfs/virtio-9p.h| 2 +-

[Qemu-devel] [PATCH RESEND v3 3/4] virtio-9p: cleanup: init function.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init function as it is no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 75 ++ 1 file changed, 23 insertions(+), 52 deletions(-)

[Qemu-devel] [PATCH v4 0/8] virtio-rng refactoring.

2013-04-19 Thread fred . konrad
- v3: * Added CCW device. * Changes name: virtio-rng = virtio-rng-device. * Rebased. Thanks, Fred KONRAD Frederic (8): virtio-rng: don't use pointer for configuration. virtio-rng: add virtio-rng device. virtio-rng-pci: switch to the new API. virtio-rng-s390: switch to the new

[Qemu-devel] [PATCH v4 2/8] virtio-rng: add virtio-rng device.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-rng-device which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/s390x/virtio-ccw.c | 3 +- hw/virtio/virtio-pci.c | 8 +--

[Qemu-devel] [PATCH v4 3/8] virtio-rng-pci: switch to the new API.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-rng-pci is modified for the new API. The device virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device during the init. The properties are not changed. The virtio_pci_reset function, is removed as no longer

[Qemu-devel] [PATCH v4 5/8] virtio-rng-ccw: switch to the new API.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-rng-ccw is modified for the new API. The device virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device during the init. The properties are not changed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com

[Qemu-devel] [PATCH v4 1/8] virtio-rng: don't use pointer for configuration.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The configuration field must not be a pointer as it will be used for virtio-rng properties. So *conf is replaced by conf. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 12 ++--

[Qemu-devel] [PATCH v4 8/8] virtio-rng: cleanup: use QOM casts.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-rng-pci, virtio-rng-s390 and virtio-rng-ccw are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com Reviewed-by: Andreas Färber afaer...@suse.de --- hw/virtio/virtio-rng.c |

[Qemu-devel] [PATCH v4 6/8] virtio-rng: cleanup: init and exit functions.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 87 +++--- include/hw/virtio/virtio.h | 2 -- 2

[Qemu-devel] [PATCH v4 4/8] virtio-rng-s390: switch to the new API.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-rng-s390 is modified for the new API. The device virtio-rng-s390 extends virtio-s390-device as before. It creates and connects a virtio-rng during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v4 7/8] virtio-rng: cleanup: remove qdev field.

2013-04-19 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 2 -- include/hw/virtio/virtio-rng.h | 2 -- 2 files changed, 4 deletions(-) diff --git

Re: [Qemu-devel] [SeaBIOS] [RFC][PATCH 0/2] Embedded Controller chip emulation

2013-04-17 Thread Fred .
HECI ? http://en.wikipedia.org/wiki/Host_Embedded_Controller_Interface On Wed, Apr 17, 2013 at 9:32 AM, li guang lig.f...@cn.fujitsu.com wrote: Embedded Controller chip could commonly be found at platforms for laptop, it generally does power management, keyboard and mouse simulation, ACPI

[Qemu-devel] [PATCH v2] virtio-balloon: fix dynamic properties.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com To keep compatibility with the old virtio-balloon-x, add the dynamic properties to virtio-balloon-pci and virtio-balloon-ccw. Cc: Luiz Capitulino lcapitul...@redhat.com Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com Changes v1 - v2: *

[Qemu-devel] [PATCH v3 1/8] virtio-rng: don't use pointer for configuration.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The configuration field must not be a pointer as it will be used for virtio-rng properties. So *conf is replaced by conf. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 12 ++--

[Qemu-devel] [PATCH v3 0/8] virtio-rng refactoring.

2013-04-14 Thread fred . konrad
: * Added CCW device. * Changes name: virtio-rng = virtio-rng-device. * Rebased. Thanks, Fred KONRAD Frederic (8): virtio-rng: don't use pointer for configuration. virtio-rng: add virtio-rng device. virtio-rng-pci: switch to the new API. virtio-rng-s390: switch to the new API. virtio

[Qemu-devel] [PATCH v3 2/8] virtio-rng: add virtio-rng device.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-rng-device which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/s390x/virtio-ccw.c | 3 +- hw/virtio/virtio-pci.c | 8 +--

[Qemu-devel] [PATCH v3 3/8] virtio-rng-pci: switch to the new API.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-rng-pci is modified for the new API. The device virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device during the init. The properties are not changed. The virtio_pci_reset function, is removed as no longer

[Qemu-devel] [PATCH v3 4/8] virtio-rng-s390: switch to the new API.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-rng-s390 is modified for the new API. The device virtio-rng-s390 extends virtio-s390-device as before. It creates and connects a virtio-rng during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v3 5/8] virtio-rng-ccw: switch to the new API.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-rng-ccw is modified for the new API. The device virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device during the init. The properties are not changed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com

[Qemu-devel] [PATCH v3 6/8] virtio-rng: cleanup: init and exit functions.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 87 +++--- include/hw/virtio/virtio.h | 2 -- 2

[Qemu-devel] [PATCH v3 7/8] virtio-rng: cleanup: remove qdev field.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 2 -- include/hw/virtio/virtio-rng.h | 2 -- 2 files changed, 4 deletions(-) diff --git

[Qemu-devel] [PATCH v3 8/8] virtio-rng: cleanup: use QOM casts.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-rng-pci and virtio-rng-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-rng.c | 31 +--

[Qemu-devel] [PATCH] virtio-rng-s390: add properties.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com I don't see any reason why these properties are missing. Cc: Cornelia Huck cornelia.h...@de.ibm.com Cc: Alexander Graf ag...@suse.de Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com Note: Need to apply virtio-rng-refactoring first! ---

[Qemu-devel] [PATCH v3 0/8] virtio-refactoring cleanup.

2013-04-14 Thread fred . konrad
. * A lot of rebasing. Thanks, Fred KONRAD Frederic (8): virtio-bus: add new functions. virtio-bus: make virtio_x_bus_new static. virtio-pci: cleanup. s390-virtio-bus: cleanup. virtio-ccw: cleanup. virtio: remove the function pointer. virtio: remove virtiobindings. virtio: cleanup

[Qemu-devel] [PATCH v3 4/8] s390-virtio-bus: cleanup.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This is a cleanup for s390: The init function is replaced by the device_plugged callback from virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/s390x/s390-virtio-bus.c | 35 ++- 1 file

[Qemu-devel] [PATCH v3 8/8] virtio: cleanup: init and exit function.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This clean the init and the exit functions and rename virtio_common_cleanup in virtio_cleanup. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/block/virtio-blk.c | 4 ++-- hw/char/virtio-serial-bus.c | 2 +-

[Qemu-devel] [PATCH v3 6/8] virtio: remove the function pointer.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove the function pointer in VirtIODevice, and use only VirtioDeviceClass function pointer. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 2 -- hw/block/virtio-blk.c | 5 -

[Qemu-devel] [PATCH v3 2/8] virtio-bus: make virtio_x_bus_new static.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com virtio_x_bus_new are only used in file scope. So this make them static. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/s390x/s390-virtio-bus.c | 4 +++- hw/s390x/s390-virtio-bus.h | 2 -- hw/s390x/virtio-ccw.c | 4 +++-

[Qemu-devel] [PATCH v3 7/8] virtio: remove virtiobindings.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove virtio-bindings, and use class instead. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/block/dataplane/virtio-blk.c | 15 +++- hw/net/vhost_net.c | 17 +++-- hw/s390x/s390-virtio-bus.c

[Qemu-devel] [PATCH v3 3/8] virtio-pci: cleanup.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove the init, exit functions as they are no longer used. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-pci.c | 54 ++ hw/virtio/virtio-pci.h | 2 -- 2 files

[Qemu-devel] [PATCH v3 1/8] virtio-bus: add new functions.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This add two functions: * virtio_bus_set_vdev_config. * virtio_bus_set_vdev_feature. Needed by virtio-ccw. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio/virtio-bus.c | 23 +++

[Qemu-devel] [PATCH v3 5/8] virtio-ccw: cleanup.

2013-04-14 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This is a cleanup for virtio-ccw. The init function is replaced by the device_plugged callback from virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/s390x/virtio-ccw.c | 34 ++ 1 file

[Qemu-devel] [PATCH v3 1/7] virtio: add two functions to VirtioDeviceClass.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Recent changes need two functions to VirtioDevice. This just add them into VirtioDeviceClass. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- include/hw/virtio/virtio.h | 12 1 file changed, 12 insertions(+) diff --git

[Qemu-devel] [PATCH v3 0/7] virtio-net refactoring.

2013-04-11 Thread fred . konrad
Changes v2 - v3: * Added property macro. * Rebased on virtio-net-ccw. * Renamed device virtio-net = virtio-net-device. * Rebased. Thanks, Fred KONRAD Frederic (7): virtio: add two functions to VirtioDeviceClass. virtio-net: add the virtio-net device. virtio-net-pci: switch

[Qemu-devel] [PATCH v3 2/7] virtio-net: add the virtio-net device.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-net-device which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/net/virtio-net.c| 152 +++--

[Qemu-devel] [PATCH v3 4/7] virtio-net-s390: switch to the new API.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-net-s390 is modified for the new API. The device virtio-net-s390 extends virtio-s390-device as before. It creates and connects a virtio-net-device during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v3 3/7] virtio-net-pci: switch to the new API.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-net-pci is modified for the new API. The device virtio-net-pci extends virtio-pci. It creates and connects a virtio-net-device during the init. The properties are not changed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com

[Qemu-devel] [PATCH v3 6/7] virtio-net: cleanup: use QOM cast.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-net-pci and virtio-net-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/net/virtio-net.c| 141 +

[Qemu-devel] [PATCH v3 7/7] virtio-net: cleanup: init and exit function.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/net/virtio-net.c | 117 ++-- 1 file changed, 22 insertions(+), 95

[Qemu-devel] [PATCH v3 5/7] virtio-net-ccw: switch to the new API.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-net-ccw is modified for the new API. The device virtio-net-ccw extends virtio-ccw-device as before. It creates and connects a virtio-net-device during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH] virtio-balloon: fix dynamic properties.

2013-04-11 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com To keep compatibility with the old virtio-balloon-x, add the dynamic properties to virtio-balloon-pci and virtio-balloon-ccw. Cc: Luiz Capitulino lcapitul...@redhat.com Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com ---

[Qemu-devel] [PATCH] virtio: fix broken aliases.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This fix the broken aliases, by renaming the devices. So: * virtio-blk = virtio-blk-device. * virtio-balloon = virtio-balloon-device. * virtio-scsi = virtio-scsi-device. All virtio-*-pci, virtio-*-s390, virtio-*-ccw didn't change.

[Qemu-devel] [PATCH v6 4/7] virtio-serial-ccw: switch to the new API.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-ccw is modified for the new API. The device virtio-serial-ccw extends virtio-ccw-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v6 6/7] virtio-serial: cleanup: use QOM casts.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-serial-pci and virtio-serial-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/char/virtio-serial-bus.c | 50 ---

[Qemu-devel] [PATCH v6 7/7] virtio-serial: cleanup: remove qdev field.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/char/virtio-serial-bus.c | 2 -- include/hw/virtio/virtio-serial.h | 2 -- 2 files changed, 4 deletions(-) diff --git

[Qemu-devel] [PATCH v6 0/7] virtio-serial refactoring.

2013-04-09 Thread fred . konrad
. Thanks, Fred KONRAD Frederic (7): virtio-serial: add the virtio-serial device. virtio-serial-pci: switch to the new API. virtio-serial-s390: switch to the new API. virtio-serial-ccw: switch to the new API. virtio-serial: cleanup: init and exit functions. virtio-serial: cleanup: use

[Qemu-devel] [PATCH v6 3/7] virtio-serial-s390: switch to the new API.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-s390 is modified for the new API. The device virtio-serial-s390 extends virtio-s390-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v6 2/7] virtio-serial-pci: switch to the new API.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-pci is modified for the new API. The device virtio-serial-pci extends virtio-pci. It creates and connects a virtio-serial during the init. The properties are not changed. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v6 1/7] virtio-serial: add the virtio-serial device.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-serial which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/char/virtio-serial-bus.c | 95 ---

[Qemu-devel] [PATCH v6 5/7] virtio-serial: cleanup: init and exit functions.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/char/virtio-serial-bus.c | 94 ++--- 1 file changed, 21 insertions(+), 73

[Qemu-devel] [PATCH v3 0/4] virtio-9p refactoring.

2013-04-09 Thread fred . konrad
-system-i386 Changes v2 - v3: * Renamed device virtio-9p = virtio-9p-device. * Rebased. Thanks, Fred KONRAD Frederic (4): virtio-9p: add the virtio-9p-device device. virtio-9p-pci: switch to the new API. virtio-9p: cleanup: init function. virtio-9p: cleanup: QOM casts. hw/9pfs

[Qemu-devel] [PATCH v3 2/4] virtio-9p-pci: switch to the new API.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-9p-pci is modified for the new API. The device virtio-9p-pci extends virtio-pci. It creates and connects a virtio-9p-device during the init. The properties are not changed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com

[Qemu-devel] [PATCH v3 1/4] virtio-9p: add the virtio-9p-device device.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-9p-device which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 73 +-

[Qemu-devel] [PATCH v3 3/4] virtio-9p: cleanup: init function.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init function as it is no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 75 ++ 1 file changed, 23 insertions(+), 52 deletions(-)

[Qemu-devel] [PATCH v3 4/4] virtio-9p: cleanup: QOM casts.

2013-04-09 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-9p-pci is switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/9pfs/virtio-9p-device.c | 11 +++ hw/9pfs/virtio-9p.c| 2 +- hw/9pfs/virtio-9p.h| 2 +-

[Qemu-devel] [PATCH v5 5/7] virtio-serial: cleanup: init and exit functions.

2013-04-04 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 94 +++--- 1 file changed, 21 insertions(+), 73

[Qemu-devel] [PATCH v5 2/7] virtio-serial-pci: switch to the new API.

2013-04-04 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-pci is modified for the new API. The device virtio-serial-pci extends virtio-pci. It creates and connects a virtio-serial during the init. The properties are not changed. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v5 1/7] virtio-serial: add the virtio-serial device.

2013-04-04 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-serial which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/s390x/s390-virtio-bus.c | 3 +- hw/s390x/virtio-ccw.c | 3 +- hw/virtio-pci.c

[Qemu-devel] [PATCH v5 7/7] virtio-serial: cleanup: remove qdev field.

2013-04-04 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 2 -- hw/virtio-serial.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/hw/virtio-serial-bus.c

[Qemu-devel] [PATCH v5 0/7] virtio-serial refactoring.

2013-04-04 Thread fred . konrad
: * Added CCW device. * Rebased. Thanks, Fred KONRAD Frederic (7): virtio-serial: add the virtio-serial device. virtio-serial-pci: switch to the new API. virtio-serial-s390: switch to the new API. virtio-serial-ccw: switch to the new API. virtio-serial: cleanup: init and exit

[Qemu-devel] [PATCH v5 4/7] virtio-serial-ccw: switch to the new API.

2013-04-04 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-ccw is modified for the new API. The device virtio-serial-ccw extends virtio-ccw-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v5 3/7] virtio-serial-s390: switch to the new API.

2013-04-04 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-s390 is modified for the new API. The device virtio-serial-s390 extends virtio-s390-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v5 6/7] virtio-serial: cleanup: use QOM casts.

2013-04-04 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-serial-pci and virtio-serial-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 50 ++

[Qemu-devel] [PATCH v4 0/7] virtio-serial refactoring.

2013-03-29 Thread fred . konrad
(with linux guests) on: * qemu-system-i386 CHanges v3 - v': * Removed serial configuration field ommited in VirtioCCWDevice structure. Changes v2 - v3: * Added CCW device. * Rebased. Thanks, Fred KONRAD Frederic (7): virtio-serial: add the virtio-serial device. virtio-serial

[Qemu-devel] [PATCH v4 2/7] virtio-serial-pci: switch to the new API.

2013-03-29 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-pci is modified for the new API. The device virtio-serial-pci extends virtio-pci. It creates and connects a virtio-serial during the init. The properties are not changed. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v4 5/7] virtio-serial: cleanup: init and exit functions.

2013-03-29 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 94 +++--- 1 file changed, 21 insertions(+), 73

[Qemu-devel] [PATCH v4 1/7] virtio-serial: add the virtio-serial device.

2013-03-29 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-serial which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-pci.c| 2 +- hw/virtio-serial-bus.c | 95

[Qemu-devel] [PATCH v4 3/7] virtio-serial-s390: switch to the new API.

2013-03-29 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-s390 is modified for the new API. The device virtio-serial-s390 extends virtio-s390-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v4 6/7] virtio-serial: cleanup: use QOM casts.

2013-03-29 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-serial-pci and virtio-serial-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 50 ++

[Qemu-devel] [PATCH v4 4/7] virtio-serial-ccw: switch to the new API.

2013-03-29 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-ccw is modified for the new API. The device virtio-serial-ccw extends virtio-ccw-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v4 7/7] virtio-serial: cleanup: remove qdev field.

2013-03-29 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 2 -- hw/virtio-serial.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/hw/virtio-serial-bus.c

[Qemu-devel] [PATCH v3 0/7] virtio-serial refactoring.

2013-03-28 Thread fred . konrad
on top of virtio-balloon-v3 I posted yesterday.* I made basic tests (with linux guests) on: * qemu-system-i386 Changes v2 - v3: * Added CCW device. * Rebased. Thanks, Fred KONRAD Frederic (7): virtio-serial: add the virtio-serial device. virtio-serial-pci: switch to the new API

[Qemu-devel] [PATCH v3 1/7] virtio-serial: add the virtio-serial device.

2013-03-28 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-serial which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-pci.c| 2 +- hw/virtio-serial-bus.c | 95

[Qemu-devel] [PATCH v3 3/7] virtio-serial-s390: switch to the new API.

2013-03-28 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-s390 is modified for the new API. The device virtio-serial-s390 extends virtio-s390-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v3 7/7] virtio-serial: cleanup: remove qdev field.

2013-03-28 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 2 -- hw/virtio-serial.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/hw/virtio-serial-bus.c

[Qemu-devel] [PATCH v3 4/7] virtio-serial-ccw: switch to the new API.

2013-03-28 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-ccw is modified for the new API. The device virtio-serial-ccw extends virtio-ccw-device as before. It creates and connects a virtio-serial during the init. The properties are not modified. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v3 2/7] virtio-serial-pci: switch to the new API.

2013-03-28 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-serial-pci is modified for the new API. The device virtio-serial-pci extends virtio-pci. It creates and connects a virtio-serial during the init. The properties are not changed. Signed-off-by: KONRAD Frederic

[Qemu-devel] [PATCH v3 6/7] virtio-serial: cleanup: use QOM casts.

2013-03-28 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com As the virtio-serial-pci and virtio-serial-s390 are switched to the new API, we can use QOM casts. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 50 ++

[Qemu-devel] [PATCH v3 5/7] virtio-serial: cleanup: init and exit functions.

2013-03-28 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com This remove old init and exit function as they are no longer needed. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-serial-bus.c | 94 +++--- 1 file changed, 21 insertions(+), 73

[Qemu-devel] [PATCH v3 1/6] virtio-balloon: add the virtio-balloon device.

2013-03-27 Thread fred . konrad
From: KONRAD Frederic fred.kon...@greensocs.com Create virtio-balloon which extends virtio-device, so it can be connected on virtio-bus. Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com --- hw/virtio-balloon.c | 95 +

<    1   2   3   4   5   6   7   8   9   >