qemu: capabilities: Probe caps for 'ide-hd' instead of 'ide-drive'

Since commit a4cda054e7 we are using 'ide-hd' and 'ide-cd' instead of
'ide-drive'. We also should probe capabilities for 'ide-hd' instead of
'ide-drive'. It is safe to do as 'ide-drive' is the common denominator
of both 'ide-hd' and 'ide-cd' so all the properties were common.

For now the test data are modified by just changing the appropriate type
when probing for caps.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Peter Krempa 2019-01-28 14:52:22 +01:00
parent 7d114e1b72
commit e67b6dcf36
37 changed files with 37 additions and 37 deletions

View File

@ -1302,7 +1302,7 @@ static virQEMUCapsObjectTypeProps virQEMUCapsDeviceProps[] = {
{ "scsi-hd", virQEMUCapsDevicePropsSCSIDisk,
ARRAY_CARDINALITY(virQEMUCapsDevicePropsSCSIDisk),
-1 },
{ "ide-drive", virQEMUCapsDevicePropsIDEDrive,
{ "ide-hd", virQEMUCapsDevicePropsIDEDrive,
ARRAY_CARDINALITY(virQEMUCapsDevicePropsIDEDrive),
-1 },
{ "PIIX4_PM", virQEMUCapsDevicePropsPiix4PM,

View File

@ -1547,7 +1547,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -1576,7 +1576,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -1585,7 +1585,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -1864,7 +1864,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -4188,7 +4188,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -4289,7 +4289,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2935,7 +2935,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -3166,7 +3166,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2989,7 +2989,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -3168,7 +3168,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -4510,7 +4510,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -4499,7 +4499,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -3077,7 +3077,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -3357,7 +3357,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2175,7 +2175,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -2272,7 +2272,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -3035,7 +3035,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -3185,7 +3185,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2354,7 +2354,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2197,7 +2197,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -2438,7 +2438,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2460,7 +2460,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -2553,7 +2553,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -3548,7 +3548,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2650,7 +2650,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -2738,7 +2738,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -4586,7 +4586,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -1425,7 +1425,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-15"
}

View File

@ -1425,7 +1425,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-15"
}

View File

@ -3154,7 +3154,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}

View File

@ -3431,7 +3431,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -4619,7 +4619,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -3464,7 +3464,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2919,7 +2919,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -2919,7 +2919,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}

View File

@ -3607,7 +3607,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}