Displaying 2 results from an estimated 2 matches for "hostcdrom".
Did you mean:
host_cdrom
2020 Oct 28
2
proper config for qemu's host_cdrom
Greetings,
I was wondering what is the proper way to configure a scsi cdrom pass-through so in when the qemu line is generated, host_Cdrom will be used instead of host_device.
looking at https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_block.c#L1090, I see that hostcdrom must be true.
in order for that to be true, the following must be (see https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_domain.c#L7167):
1. disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM
2. disksrc->format == VIR_STORAGE_FILE_RAW
3. virStorageSourceIsBlockLocal(disksrc)
4. virFile...
2020 Nov 02
0
Re: proper config for qemu's host_cdrom
...; Greetings,
>
> I was wondering what is the proper way to configure a scsi cdrom pass-through so in when the qemu line is generated, host_Cdrom will be used instead of host_device.
>
> looking at https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_block.c#L1090, I see that hostcdrom must be true.
> in order for that to be true, the following must be (see https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_domain.c#L7167):
> 1. disk->device == VIR_DOMAIN_DISK_DEVICE_CDROM
> 2. disksrc->format == VIR_STORAGE_FILE_RAW
> 3. virStorageSourceIsBlockLocal...