search for: qemu_block

Displaying 4 results from an estimated 4 matches for "qemu_block".

Did you mean: mem_block
2020 Oct 22
2
Why "discard":"unmap" is the default option for disks
...;read-only":false,"driver":"raw","file":"libvirt-1-storage"} -device virtio-blk-pci,bus=pci.2,addr=0x0,drive=libvirt-1-format,id=virtio-disk1,werror=report,rerror=report ... I think it's from https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_block.c#L1211 But I cannot find the reason from commit msgs or documents. Could you please explain it?
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. virStorageSourceIs...
2020 Oct 22
0
Re: Why "discard":"unmap" is the default option for disks
...9;format' node is then installed as the disk backend: > -device > scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,device_id=drive-scsi0-0-0-0,drive=libvirt-2-format,id=scsi0-0-0-0,bootindex=1 [...] > I think it's from > https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qemu_block.c#L1211 > But I cannot find the reason from commit msgs or documents. > Could you please explain it? See above. I'm curious though why are you asking? You didn't mention that there's any problem with that.
2020 Nov 02
0
Re: proper config for qemu's host_cdrom
...5:06:51 +0100, daggs wrote: > 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...