Re: [Qemu-devel] The WCE issue in guest when i enable WCE in Qemu side.

2019-07-24 Thread Yang Zhong
On Wed, Jul 24, 2019 at 10:57:30AM +0200, Paolo Bonzini wrote: > On 24/07/19 08:55, Yang Zhong wrote: > > > > The SPDK code i am using is latest version, So, i feel we should > > enable WCE feature in SPDK side by default. thanks for your help! > > Note that enabling the CONFIG_WCE feature has so

Re: [Qemu-devel] The WCE issue in guest when i enable WCE in Qemu side.

2019-07-24 Thread Paolo Bonzini
On 24/07/19 08:55, Yang Zhong wrote: > > The SPDK code i am using is latest version, So, i feel we should > enable WCE feature in SPDK side by default. thanks for your help! Note that enabling the CONFIG_WCE feature has some consequences. According to the spec: - if the VIRTIO_BLK_F_CONFIG_WCE f

Re: [Qemu-devel] The WCE issue in guest when i enable WCE in Qemu side.

2019-07-24 Thread Yang Zhong
On Tue, Jul 23, 2019 at 05:32:12PM +0200, Paolo Bonzini wrote: > On 23/07/19 14:17, Zhong, Yang wrote: > > When I set config-wce=true or false, the below value never change > > root@unicorn ~ # cat /sys/block/vda/cache_type > > write back > > root@unicorn ~ # cat /sys/block/vda/device/features > >

Re: [Qemu-devel] The WCE issue in guest when i enable WCE in Qemu side.

2019-07-23 Thread Paolo Bonzini
On 23/07/19 14:17, Zhong, Yang wrote: > When I set config-wce=true or false, the below value never change > root@unicorn ~ # cat /sys/block/vda/cache_type > write back > root@unicorn ~ # cat /sys/block/vda/device/features > 0010 0010 0110 0110 1000 1000

[Qemu-devel] The WCE issue in guest when i enable WCE in Qemu side.

2019-07-23 Thread Zhong, Yang
Hello all, I am using the Qemu/SPDK to do vhost-user-blk verification, and the qemu command as below: ./qemu-system-x86_64 \ -machine q35,accel=kvm \ -cpu host -m 1024,maxmem=20G,slots=2 -smp 6 \ -kernel ./../linux-stable/arch/x86/boot/bzImage \ -append 'root=/dev/vdb3 rw rootfs