Hi:
I am using qemu 8.0 comes with RHEL 9.3. I have some vm hosted at hard
disk thick-provisioned lvm. I want the vm to see the virtual disk as
"normal hard disk", not "thin provisioned disk".
I test the parameter "discard=unmap" and "discard=ignore" and found
there is no difference for t
Frantisek Rysanek
> Hi D,
>
> I'm not sure what exactly your goal is.
>
> Prevent the guest OS from realizing, that the HDD is of type
> "virtio"? In that case I'd look at how the hard drive is specified to
> qemu-system-x86_64. Or first of all, how the controller is specified.
> At the level of
Frantisek Rysanek
> Oh I see. You're saying that
> -drive ...,discard=ignore
> Does not prevent Windows (guest OS) from trying the
> discard=trim=unmap on the virtio disk device, merely those operations
> get ignored by QEMU.
> Thus, Windows thinks it's trimming, while in reality it's just
> wasti