[libvirt] [PATCH v4] virsh domxml-from-native to treat SCSI as the bus type for pseries by default

Cole Robinson crobinso at redhat.com
Mon Nov 25 15:46:32 UTC 2013


On 11/22/2013 12:27 PM, Shivaprasad G Bhat wrote:
> The bus type IDE being enum Zero, the bus type on pseries system appears as IDE for all the -hda/-cdrom and for disk drives with if="none" type. Pseries platform needs this to appear as SCSI instead of IDE. The ide being not supported, the explicit requests for ide devices will return an error.
> 
> Signed-off-by: Shivaprasad G Bhat <sbhat at linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_command.c                            |   25 +++++++++++--
>  tests/qemuargv2xmltest.c                           |    1 +
>  .../qemuxml2argv-pseries-disk.args                 |    5 +++
>  .../qemuxml2argvdata/qemuxml2argv-pseries-disk.xml |   40 ++++++++++++++++++++
>  4 files changed, 67 insertions(+), 4 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-disk.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-disk.xml
> 

ACK, pushed now.

- Cole




More information about the libvir-list mailing list