Re: hard-disk via virtio-blk under windows (discard_granularity=0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


(追記) (追記ここまで)



Martin Kletzander <mkletzan@xxxxxxxxxx>
> > 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

[Index of Archives] [Virt Tools] [Lib OS Info] [Fedora Users] [Fedora Desktop] [Fedora SELinux] [Yosemite News] [KDE Users]

(追記) (追記ここまで)
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /