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 committed 2019-02-08 08:30:38 +01:00
1 parent 7d114e1b72
commit e67b6dcf36
37 files changed
+37 -37

No files matched your search

+1 -1
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,
@@ -1547,7 +1547,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -1576,7 +1576,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -1585,7 +1585,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -1864,7 +1864,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -4188,7 +4188,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -4289,7 +4289,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2935,7 +2935,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -3166,7 +3166,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2989,7 +2989,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -3168,7 +3168,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -4510,7 +4510,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -4499,7 +4499,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -3077,7 +3077,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -3357,7 +3357,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2175,7 +2175,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -2272,7 +2272,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -3035,7 +3035,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -3185,7 +3185,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2354,7 +2354,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2197,7 +2197,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -2438,7 +2438,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2460,7 +2460,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -2553,7 +2553,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -3548,7 +3548,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2650,7 +2650,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -2738,7 +2738,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -4586,7 +4586,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -1425,7 +1425,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-15"
}
@@ -1425,7 +1425,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-15"
}
@@ -3154,7 +3154,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-17"
}
@@ -3431,7 +3431,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -4619,7 +4619,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -3464,7 +3464,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2919,7 +2919,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -2919,7 +2919,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}
@@ -3607,7 +3607,7 @@
{
"execute": "device-list-properties",
"arguments": {
"typename": "ide-drive"
"typename": "ide-hd"
},
"id": "libvirt-16"
}