Peter Krempa
3210c8b047
qemuBuildDeviceAddressProps: Format also 'drive' addresses
...
Introduce infrastructure to format 'drive' addresses via the standard
helper rather than hand-rolled generators used inline.
The code needs to know the disk bus to format the correct address which
is passed in via an internal field in virDomainDeviceDriveAddress.
The field types according to QEMU are as following:
'ide-hd' for VIR_DOMAIN_DISK_BUS_IDE and VIR_DOMAIN_DISK_BUS_SATA
unit=<uint32> - (default: 4294967295)
'floppy' for VIR_DOMAIN_DISK_BUS_FDC
unit=<uint32> - (default: 4294967295)
'scsi-hd' for VIR_DOMAIN_DISK_BUS_SCSI
channel=<uint32> - (default: 0)
scsi-id=<uint32> - (default: 4294967295)
lun=<uint32> - (default: 4294967295)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-10-12 10:26:04 +02:00
..
2021-08-12 13:12:29 +02:00
2021-04-13 17:00:38 +02:00
2021-08-23 13:59:28 +02:00
2021-08-23 13:59:28 +02:00
2021-08-23 16:59:23 +02:00
2021-04-13 17:00:38 +02:00
2021-10-01 10:52:35 +02:00
2021-04-13 17:00:38 +02:00
2021-05-20 11:52:46 +02:00
2021-10-12 10:26:04 +02:00
2021-07-23 11:30:55 +02:00
2021-04-13 17:00:38 +02:00
2021-05-21 14:29:09 +02:00
2021-04-13 17:00:38 +02:00
2021-07-21 13:30:30 +02:00
2021-07-21 13:30:30 +02:00
2021-10-12 10:26:04 +02:00
2021-10-12 10:26:02 +02:00
2021-10-01 11:04:47 +02:00
2021-10-01 11:04:47 +02:00
2021-07-19 09:39:15 +02:00
2021-04-13 17:00:38 +02:00
2021-10-01 11:02:53 +02:00
2021-09-09 10:17:28 +02:00
2021-08-20 15:41:21 +02:00
2021-08-20 15:41:21 +02:00
2021-01-22 11:10:27 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-09-10 17:38:06 +02:00
2021-09-10 17:38:06 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-09-15 08:41:06 +02:00
2021-09-14 14:24:00 -05:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-06-15 10:41:22 +02:00
2021-06-15 10:41:22 +02:00
2021-08-20 15:38:53 +02:00
2021-08-20 15:38:53 +02:00
2021-07-23 11:27:05 +02:00
2021-04-13 17:00:38 +02:00
2021-08-04 10:39:27 +02:00
2021-07-23 11:27:05 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:26 +02:00
2021-04-13 17:00:38 +02:00
2021-08-20 15:41:22 +02:00
2021-08-20 15:41:22 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-23 16:59:23 +02:00
2021-06-18 09:16:16 +02:00
2021-05-20 11:52:44 +02:00
2021-05-20 11:52:41 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-25 09:57:51 +02:00
2021-08-25 09:57:51 +02:00
2021-04-22 11:24:53 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-21 10:02:09 +02:00
2021-07-12 16:34:07 +02:00
2021-07-23 11:30:49 +02:00
2021-04-13 17:00:38 +02:00
2021-07-21 13:30:14 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-07-23 11:31:03 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-20 15:41:21 +02:00
2021-04-13 17:00:38 +02:00
2021-08-17 18:27:13 +02:00
2021-04-13 17:00:38 +02:00
2021-09-06 17:08:59 +02:00
2021-09-06 17:08:59 +02:00
2021-09-14 14:24:00 -05:00
2021-09-14 14:24:00 -05:00
2021-09-06 17:08:59 +02:00
2021-09-06 17:08:59 +02:00
2021-08-17 18:27:13 +02:00
2021-04-13 17:00:38 +02:00
2021-07-19 09:39:15 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2021-08-17 18:27:13 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-17 18:27:13 +02:00
2021-04-13 17:00:38 +02:00