]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add address type for SPAPR VIO devices
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 12 Dec 2011 23:39:31 +0000 (10:39 +1100)
committerEric Blake <eblake@redhat.com>
Tue, 20 Dec 2011 22:39:16 +0000 (15:39 -0700)
commit7e4d896b5edaafb933a3c8c69e2970eca0cfb5b9
tree2f283262be4025e8199810385d696773578748e6
parentfbdfda14a1128b114dbdb608b60d6caf24c2489a
Add address type for SPAPR VIO devices

For QEMU PPC64 we have a machine type ("pseries") which has a virtual
bus called "spapr-vio". We need to be able to create devices on this
bus, and as such need a way to specify the address for those devices.

This patch adds a new address type "spapr-vio", which achieves this.

The addressing is specified with a "reg" property in the address
definition. The reg is optional, if it is not specified QEMU will
auto-assign an address for the device.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c