Re: [Qemu-devel] [PATCH] virtio-blk: set correct config size for the host driver

2019-02-13 Thread no-reply
-devel] [PATCH] virtio-blk: set correct config size for the host driver === TEST SCRIPT BEGIN === #!/bin/bash git config --local diff.renamelimit 0 git config --local diff.renames True git config --local diff.algorithm histogram ./scripts/checkpatch.pl --mailback base.. === TEST SCRIPT END

Re: [Qemu-devel] [PATCH] virtio-blk: set correct config size for the host driver

2019-02-11 Thread Michael S. Tsirkin
On Tue, Feb 12, 2019 at 05:24:25AM +, Liu, Changpeng wrote: > > > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: Tuesday, February 12, 2019 12:31 PM > > To: Liu, Changpeng > > Cc: qemu-devel@nongnu.org; stefa...@redhat.com; sgarz...@redhat.com; >

Re: [Qemu-devel] [PATCH] virtio-blk: set correct config size for the host driver

2019-02-11 Thread Liu, Changpeng
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Tuesday, February 12, 2019 12:31 PM > To: Liu, Changpeng > Cc: qemu-devel@nongnu.org; stefa...@redhat.com; sgarz...@redhat.com; > dgilb...@redhat.com; ldok...@redhat.com > Subject: Re: [PATCH] virtio-blk: s

Re: [Qemu-devel] [PATCH] virtio-blk: set correct config size for the host driver

2019-02-11 Thread Michael S. Tsirkin
On Tue, Feb 12, 2019 at 12:25:16PM +0800, Changpeng Liu wrote: > Commit caa1ee43 "vhost-user-blk: add discard/write zeroes features support" > introduced extra fields to existing struct virtio_blk_config, when > migration was executed from older QEMU version to current head, it > will break the mig

[Qemu-devel] [PATCH] virtio-blk: set correct config size for the host driver

2019-02-11 Thread Changpeng Liu
Commit caa1ee43 "vhost-user-blk: add discard/write zeroes features support" introduced extra fields to existing struct virtio_blk_config, when migration was executed from older QEMU version to current head, it will break the migration. While here, set the correct config size when initializing the