Martin Kletzander <mkletzan(a)redhat.com>
> I wonder if libvirt would be changed to accept
>"discard_granularity='0'" so the traditional hard-disk can be
>recognized under windows again.
>
That should be possible, yes. Given the behaviour described above it
should be done (although it feels like there is something else that's
worth fixing, but I don't know what and where).
Thanks a lot for the good news. it would be a lot easier to setup.
Could you file an upstream (or downstream) issue so that we do not
lose
track of this?
Upstream:
https://gitlab.com/libvirt/libvirt/-/issues/new
Downstream:
https://issues.redhat.com/secure/CreateIssue!default.jspa
I will do that asap.
Based on whether it is taking time in the guest or in the host you
could
theoretically try setting <driver name='qemu' discard='ignore'/>
but I
guess that would not help.
no it won't help. I had tried that before. I tried many parameters and
also tried to set the "media type" manually at windows (the function
seems only designed for storage pools, not normal devices).
"discard_granularity=0" is the first parameter which is working. I am
glad that it works. or I can only stay with very old drivers or
replace virtio-blk with virtio-scsi.
Regards,
tbskyd