virtio-device: refactor virtio-device.
authorKONRAD Frederic <fred.konrad@greensocs.com>
Mon, 14 Jan 2013 23:08:02 +0000 (00:08 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Jan 2013 19:23:12 +0000 (13:23 -0600)
commit8e05db9234050cb3f0ffb765608dd8b176334ae1
tree416e9423918dc781faa542d02ab0cbbaa699f730
parentff8eca5536edd3f84bc87277e158e4db11dadf82
virtio-device: refactor virtio-device.

Create the virtio-device which is abstract. All the virtio-device can extend
this class. It also add some functions to virtio-bus.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-bus.c
hw/virtio-bus.h
hw/virtio.c
hw/virtio.h