Re: Why "discard":"unmap" is the default option for disks

2020-10-21 Thread Peter Krempa
On Thu, Oct 22, 2020 at 10:57:05 +0800, Han Han wrote: > Hello, > I find "discard":"unmap" is defaultly enabled in qemu cmdline(libvirt > v6.6, qemu v5.1): > XML: > > > > > > > [...] > QEMU cmdline: The -blockdev definition of storage splits up a stora

Why "discard":"unmap" is the default option for disks

2020-10-21 Thread Han Han
Hello, I find "discard":"unmap" is defaultly enabled in qemu cmdline(libvirt v6.6, qemu v5.1): XML: QEMU cmdline: ... -blockdev {"driver":"file","filename":"/var/lib/libvirt/images/new.qcow2","

about the script /etc/qemu-ifup with nmcli command

2020-10-21 Thread Yalan Zhang
Hi, I have tried the qemu-ifup script as below with nmcli command as brctl is deprecated on rhel8, but the guest network can not work. I think the script needs update. Could you please help to have a look? Thank you in advance. 1. prepare a linux bridge on the host named br0; 2. prepare the qemu