From: KONRAD Frederic fred.kon...@greensocs.com
This remove old init and exit function as they are no longer needed.
This shouldn't been applyied before virtio-rng-pci and virtio-rng-s390
refactoring.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-rng.c | 88
From: KONRAD Frederic fred.kon...@greensocs.com
Allocate/Free the cmd_vqs array separately to have a fixed size device.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-scsi.c | 6 +++---
hw/virtio-scsi.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
From: KONRAD Frederic fred.kon...@greensocs.com
A virtio-s390-bus is created during the init. So one VirtIODevice can be
connected on the virtio-s390-device through this bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/s390-virtio-bus.c | 2 ++
hw/s390-virtio-bus.h | 1 +
2
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. This shouldn't been applyied before virtio-rng-pci
and virtio-rg-s390 refactoring as their VirtIODevice were not a QOM
object.
Signed-off-by: KONRAD
From: KONRAD Frederic fred.kon...@greensocs.com
The configuration field must not be a pointer as it will be used for virtio-scsi
properties. So *conf is replaced by conf.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-scsi.c | 14 +++---
hw/virtio-scsi.h | 2 +-
From: KONRAD Frederic fred.kon...@greensocs.com
This remove old init and exit function as they are no longer needed.
This shouldn't been applyied before virtio-balloon-pci refactoring.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-balloon.c | 68
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-rng.c | 12 ++--
hw/virtio-rng.h | 2 +-
2
From: KONRAD Frederic fred.kon...@greensocs.com
The configuration field must not be a pointer as it will be used for virtio-blk
properties. So *blk is replaced by blk in VirtIOBlock structure.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 8
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-pci device. This transport device will create a
virtio-pci-bus, so one VirtIODevice can be connected.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 127
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
during the init. The properties are not changed.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
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
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
From: KONRAD Frederic fred.kon...@greensocs.com
Here the virtio-scsi-s390 is modified for the new API. The device
virtio-scsi-s390 extends virtio-s390-device as before. It creates and
connects a virtio-scsi during the init. The properties are not modified.
Signed-off-by: KONRAD Frederic
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-blk.c | 3 +--
hw/virtio-blk.h | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/virtio-blk.c
From: KONRAD Frederic fred.kon...@greensocs.com
As we discuss with anthony and andreas, this structure must be showed to avoid
two memory allocations for virtio-rng-x.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-rng.c | 19 ---
hw/virtio-rng.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-device which is abstract. All the virtio-device can extend
this class.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 70 ++---
hw/virtio.h | 30
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-scsi.c | 2 --
hw/virtio-scsi.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c
index
From: KONRAD Frederic fred.kon...@greensocs.com
Create virtio-net which extends virtio-device, so it can be connected on
virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-net.c | 115 +---
hw/virtio-net.h | 18
From: KONRAD Frederic fred.kon...@greensocs.com
As we discuss with anthony and andreas, this structure must be showed to avoid
two memory allocations for virtio-serial-x.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-serial-bus.c | 41
From: KONRAD Frederic fred.kon...@greensocs.com
Here the virtio-blk-pci is modified for the new API. The device
virtio-blk-pci extends virtio-pci. It creates and connects a virtio-blk
during the init. The properties are not changed.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
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. This shouldn't been applyied before virtio-net-pci
and virtio-net-s390 refactoring as their VirtIODevice were not a QOM
object.
Signed-off-by: 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-balloon.c | 1 -
hw/virtio-balloon.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/hw/virtio-balloon.c
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
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 during the init. The properties are not modified.
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic fred.kon...@greensocs.com
This add the virtio-s390-bus which extends virtio-bus. So one VirtIODevice can
be connected on this bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/s390-virtio-bus.c | 29 +
hw/s390-virtio-bus.h |
From: KONRAD Frederic fred.kon...@greensocs.com
Here the virtio-scsi-pci is modified for the new API. The device virtio-scsi-pci
extends virtio-pci. It creates and connects a virtio-scsi during the init.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 121
From: KONRAD Frederic fred.kon...@greensocs.com
This remove old init and exit function as they are no longer needed.
This shouldn't been applyied before virtio-net-pci and virtio-net-s390
refactoring.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-net.c | 95
From: KONRAD Frederic fred.kon...@greensocs.com
As the virtio-scsi-pci and virtio-scsi-s390 are switched to the new API,
we can use QOM casts. This shouldn't been applyied before
virtio-scsi-pci and virtio-scsi-s390 refactoring as their VirtIODevice
were not a QOM object.
Signed-off-by: KONRAD
From: KONRAD Frederic fred.kon...@greensocs.com
Add a max_dev field to BusState to specify the maximum amount of devices allowed
on the bus ( have no effect if max_dev=0 )
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/qdev-core.h| 2 ++
hw/qdev-monitor.c | 11 +++
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-bus. Refactored transport device will create a bus which
extends virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/Makefile.objs | 1 +
hw/virtio-bus.c | 178
with that, I will send
the full series.
For the bindings, I can't move opaque from void* to VirtIODevice* as this is
pointing the transport device.
For the max_dev property what do you finally think is the best: an object or
class property ?
Thanks,
Fred
Changes v8 - v9:
* Modified virtio-bus.c
From: KONRAD Frederic fred.kon...@greensocs.com
Here the virtio-blk-s390 is modified for the new API. The device
virtio-blk-s390 extends virtio-s390-device as before. It creates and
connects a virtio-blk during the init. The properties are not modified.
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic fred.kon...@greensocs.com
Here the virtio-blk-pci is modified for the new API. The device
virtio-blk-pci extends virtio-pci. It creates and connects a virtio-blk
during the init. The properties are not changed.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
From: KONRAD Frederic fred.kon...@greensocs.com
As the virtio-blk-pci and virtio-blk-s390 are switched to the new API,
we can use QOM casts and remove the separate init/exit for the old API.
This shouldn't been applyied before virtio-blk-pci and virtio-blk-s390
refactoring as their VirtIODevice
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-pci device. This transport device will create a
virtio-pci-bus, so one VirtIODevice can be connected.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 133
From: KONRAD Frederic fred.kon...@greensocs.com
Create virtio-blk which extends virtio-device, so it can be connected on
virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 101 +++-
hw/virtio-blk.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-device which is abstract. All the virtio-device can extend
this class.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 70 ++---
hw/virtio.h | 31
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-blk.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index
From: KONRAD Frederic fred.kon...@greensocs.com
This add the virtio-s390-bus which extends virtio-bus. So one VirtIODevice can
be connected on this bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/s390-virtio-bus.c | 28
hw/s390-virtio-bus.h | 13
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci
transport device.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 37 +
hw/virtio-pci.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
A virtio-s390-bus is created during the init. So one VirtIODevice can be
connected on the virtio-s390-device through this bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/s390-virtio-bus.c | 2 ++
hw/s390-virtio-bus.h | 1 +
2
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-pci device. This transport device will create a
virtio-pci-bus, so one VirtIODevice can be connected.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 130
From: KONRAD Frederic fred.kon...@greensocs.com
Here the virtio-blk-pci is modified for the new API. The device virtio-blk-pci
extends virtio-pci. It creates and connects a virtio-blk during the init.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 106
From: KONRAD Frederic fred.kon...@greensocs.com
This remove the function pointer in VirtIODevice, and use only
VirtioDeviceClass function pointer. It should be applied after all
the device have been refactored.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 5
From: KONRAD Frederic fred.kon...@greensocs.com
The qdev field is not needed, just drop it.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-device which is abstract. All the virtio-device can extend
this class.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 70 ++---
hw/virtio.h | 31
From: KONRAD Frederic fred.kon...@greensocs.com
Here the virtio-blk-s390 is modified for the new API. The device virtio-blk-s390
extends virtio-s390-device. It creates and connects a virtio-blk during the
init.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/s390-virtio-bus.c |
macros VIRTIO_BUS.
* Added virtio_bus_plug_device.
* Replaced the old-style bus-qbus by BUS() macro.
Fred.
KONRAD Frederic (15):
qdev : add a maximum device allowed field for the bus.
virtio-bus : Introduce virtio-bus
virtio-pci-bus : Introduce virtio-pci-bus.
virtio-pci : Refactor
From: KONRAD Frederic fred.kon...@greensocs.com
Add a max_dev field to BusState to specify the maximum amount of devices allowed
on the bus ( have no effect if max_dev=0 )
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/qdev-core.h| 2 ++
hw/qdev-monitor.c | 11 +++
From: KONRAD Frederic fred.kon...@greensocs.com
Create a virtio-s390-bus during init, so the refactored virtio device can be
connected.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/s390-virtio-bus.c | 2 ++
hw/s390-virtio-bus.h | 1 +
2 files changed, 3 insertions(+)
diff
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-bus. Refactored transport device will create a bus which
extends virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/Makefile.objs | 1 +
hw/virtio-bus.c | 169
From: KONRAD Frederic fred.kon...@greensocs.com
As the virtio-blk-pci is switched to the new API, we can use QOM casts and
remove the separate init for the old API. This shouldn't been applyied
before virtio-blk-pci refactoring and virtio-blk-s390 refactoring.
Signed-off-by: KONRAD Frederic
From: KONRAD Frederic fred.kon...@greensocs.com
Clean the init and the exit function. It should be applied when all the device
have been refactored.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 15 ---
hw/virtio.h | 4
2 files changed, 19
From: KONRAD Frederic fred.kon...@greensocs.com
Create virtio-blk which extends virtio-device, so it can be connected on
virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 101 +++-
hw/virtio-blk.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-s390-bus, which extends virtio-bus. It is used with s390
transport device.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/s390-virtio-bus.c | 28
hw/s390-virtio-bus.h | 13
From: KONRAD Frederic fred.kon...@greensocs.com
This remove VirtIOBindings and use VirtioBusClass instead. It should be applied
when all the device have been refactored.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-bus.c | 20
hw/virtio-bus.h | 6
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci
transport device.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 37 +
hw/virtio-pci.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
Add a max_dev field to BusState to specify the maximum amount of devices allowed
on the bus ( have no effect if max_dev=0 )
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/qdev-core.h| 2 ++
hw/qdev-monitor.c | 11 +++
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-bus. Refactored transport device will create a bus which
extends virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/Makefile.objs | 1 +
hw/virtio-bus.c | 120
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-pci device. This transport device will create a
virtio-pci-bus, so one VirtIODevice can be connected.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 127
,
...)
* Added get_virtio_device_id(), and remove the pci_id* from the VirtioBus
structure.
* Added virtio_bus_reset().
* Added cast macros VIRTIO_BUS.
* Added virtio_bus_plug_device.
* Replaced the old-style bus-qbus by BUS() macro.
Fred.
KONRAD Frederic (8):
qdev
From: KONRAD Frederic fred.kon...@greensocs.com
As the virtio-blk-pci is switched to the new API, we can use QOM casts and
remove the separate init for the old API.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 69
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-device which is abstract. All the virtio-device can extend
this class.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 50 +++---
hw/virtio.h | 28
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci
transport device.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 37 +
hw/virtio-pci.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
Create virtio-blk which extends virtio-device, so it can be connected on
virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 107 +++-
hw/virtio-blk.h | 6
convention,
...)
* Added get_virtio_device_id(), and remove the pci_id* from the VirtioBus
structure.
* Added virtio_bus_reset().
* Added cast macros VIRTIO_BUS.
* Added virtio_bus_plug_device.
* Replaced the old-style bus-qbus by BUS() macro.
Fred.
KONRAD Frederic
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci
transport device.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 37 +
hw/virtio-pci.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-bus. Refactored transport device will create a bus which
extends virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/Makefile.objs | 1 +
hw/virtio-bus.c | 111
From: KONRAD Frederic fred.kon...@greensocs.com
Add a max_dev field to BusState to specify the maximum amount of devices allowed
on the bus ( have no effect if max_dev=0 )
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/qdev-core.h| 2 ++
hw/qdev-monitor.c | 11 +++
From: KONRAD Frederic fred.kon...@greensocs.com
Create virtio-blk which extends virtio-device, so it can be connected on
virtio-bus. I suggest one step to refactor virtio-blk-pci, and one more to clean
virtio-blk.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c |
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-device which is abstract. All the virtio-device can extend
this class.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 50 +++---
hw/virtio.h | 28
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-pci device. This transport device will create a
virtio-pci-bus, so one VirtIODevice can be connected.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 112
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-pci-bus, which extends virtio-bus. It is used with virtio-pci
transport device.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 37 +
hw/virtio-pci.h | 19
From: KONRAD Frederic fred.kon...@greensocs.com
Add a max_dev field to BusState to specify the maximum amount of devices allowed
on the bus ( have no effect if max_dev=0 )
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/qdev-core.h| 2 ++
hw/qdev-monitor.c | 11 +++
From: KONRAD Frederic fred.kon...@greensocs.com
Create virtio-blk which extends virtio-device, so it can be connected on
virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 170
hw/virtio-blk.h | 4
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-pci device. This transport device will create a
virtio-pci-bus, so one VirtIODevice can be connected.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 112
() macro.
Fred.
KONRAD Frederic (6):
qdev : add a maximum device allowed field for the bus.
virtio-bus : Introduce virtio-bus
virtio-pci-bus : Introduce virtio-pci-bus.
virtio-pci : Refactor virtio-pci device.
virtio-device : Refactor virtio-device.
virtio-blk : Refactor virtio-blk
From: KONRAD Frederic fred.kon...@greensocs.com
Introduce virtio-bus. Refactored transport device will create a bus which
extends virtio-bus.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/Makefile.objs | 1 +
hw/virtio-bus.c | 111
From: KONRAD Frederic fred.kon...@greensocs.com
Create the virtio-device which is abstract. All the virtio-device can extend
this class.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 56
hw/virtio.h | 29
From: KONRAD Frederic fred.kon...@greensocs.com
Only one device can be connected to virtio-bus.
This patch add a field max_dev which is :
* the maximum amount of devices connected on the bus ( when
* max_dev!=0 ).
* have no effect ( when max_dev=0 ).
The function qbus_find_recursive
the VirtioBus
structure.
* Added virtio_bus_reset().
* Added cast macros VIRTIO_BUS.
* Added virtio_bus_plug_device.
* Replaced the old-style bus-qbus by BUS() macro.
Fred.
KONRAD Frederic (6):
qdev : add a maximum device allowed field for the bus.
virtio-bus : Introduce virtio
From: KONRAD Frederic fred.kon...@greensocs.com
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 48 +++-
hw/virtio-pci.h | 15 +++
2 files changed, 62 insertions(+), 1 deletions(-)
diff --git
From: KONRAD Frederic fred.kon...@greensocs.com
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio.c | 28
hw/virtio.h | 27 +++
2 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/hw/virtio.c b/hw/virtio.c
From: KONRAD Frederic fred.kon...@greensocs.com
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/Makefile.objs |1 +
hw/virtio-bus.c | 114 ++
hw/virtio-bus.h | 78 +
3 files changed,
From: KONRAD Frederic fred.kon...@greensocs.com
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 61 +++
hw/virtio-blk.h | 16 ++
2 files changed, 77 insertions(+), 0 deletions(-)
diff --git
From: KONRAD Frederic fred.kon...@greensocs.com
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-pci.c | 45 +
hw/virtio-pci.h | 19 +--
2 files changed, 62 insertions(+), 2 deletions(-)
diff --git
VIRTIO_BUS.
* Added virtio_bus_plug_device.
* Replaced the old-style bus-qbus by BUS() macro.
Fred
KONRAD Frederic (2):
virtio-bus : Introduce virtio-bus
qbus : add a maximum device.
hw/qdev-core.h|1 +
hw/qdev-monitor.c | 12 +
hw/virtio-bus.c | 118
From: KONRAD Frederic fred.kon...@greensocs.com
Only one device can be connected to virtio-bus.
This patch add a field max_dev which is :
* the maximum amount of devices connected on the bus ( when
* max_dev!=0 ).
* have no effect ( when max_dev=0 ).
The function qbus_find_recursive
From: KONRAD Frederic fred.kon...@greensocs.com
This patch create VirtioBus which is abstract, we can create virtio-x-bus which
extends this virtio-bus.
The virtio-x-bus need to implement all the methods from the VirtioBusClass.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
available here :
git://git.greensocs.com/qemu_virtio.git virtio_refactoring_2
or with http :
http://git.greensocs.com/?p=qemu_virtio.git;a=shortlog; \
h=refs/heads/virtio_refactoring_2
Fred
KONRAD Frederic (3):
virtio-bus : Introduce VirtioBus.
virtio-pci : add a virtio-bus interface
From: KONRAD Frederic fred.kon...@greensocs.com
This patch just add the virtio-blk device which can connect on a Virtio-Bus. The
initialization fail if no free VirtioBus are present.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 82
From: KONRAD Frederic fred.kon...@greensocs.com
This patch create a new VirtioBus, which can be added to Virtio transports like
virtio-pci, virtio-mmio,...
One VirtIODevice can be connected to this device, like virtio-blk in the 3rd
patch.
The VirtioBus shares through a VirtioBusInfo structure
From: KONRAD Frederic fred.kon...@greensocs.com
This patch add a VirtioBus in the VirtIOPCIProxy structure. It creates a new
device : virtio-pci which init the VirtioBus. Two callback are written :
* void virtio_pci_init_cb(DeviceState *dev) to initialize the PCI interface
after the
improve :
* the Virtio-PCI still need the VirtIODevice.
* others devices.
* spliting virtio-x-pci to virtio-x + virtio-pci.
Did I miss something ?
Thanks,
Fred.
From: KONRAD Frederic fred.kon...@greensocs.com
This patch create a new VirtioBus, which can be added to Virtio transports like
virtio-pci, virtio-mmio,...
One VirtIODevice can be connected to this device, like virtio-blk in the 3rd
patch.
The VirtioBus shares through a VirtioBusInfo structure
From: KONRAD Frederic fred.kon...@greensocs.com
This patch add a VirtioBus in the VirtIOPCIProxy structure. It creates a new
device : virtio-pci which init the VirtioBus. Two callback are written :
* void virtio_pci_init_cb(DeviceState *dev) to initialize the PCI interface
after the
From: KONRAD Frederic fred.kon...@greensocs.com
This patch just add the virtio-blk device which can connect on a Virtio-Bus. The
initialization fail if no free VirtioBus are present.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/virtio-blk.c | 84
The check using INT_MAX (2147483647) is wrong in this case.
Signed-off-by: Fred Oliveira folive...@cloudswitch.com
---
target-i386/cpu.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 423e009..cbc172e 100644
--- a/target-i386
Great to see a new release out! :)
Now lets merge some new stuff! :D
On Fri, Aug 31, 2012 at 7:31 PM, Kevin O'Connor ke...@koconnor.net wrote:
The 1.7.1 version of SeaBIOS has now been released. For more
information on the release, please see:
http://seabios.org/Releases
New in this
Bug Check 0xA5: ACPI_BIOS_ERROR
Bug Check 0x2: DEVICE_QUEUE_NOT_BUSY
http://msdn.microsoft.com/en-us/library/windows/hardware/ff560114%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/hardware/ff557475%28v=vs.85%29.aspx
- at the bottom there is a send comment to Microsoft form
701 - 800 of 809 matches
Mail list logo