virtio-blk io bar size changed
Hi,
Lukáš reported that there's a migration breakage between 3.1 and
current head with virtio-blk; it looks like the io bar changes from 64
to 128 bytes and my bisect suggests it's:
commit caa1ee43131c060347b32893abd41fe4865eaa2e (HEAD, refs/bisect/bad)
Author: Changpeng Liu <[email protected]> Date: Wed Jan 16 13:19:30 2019 +0800
vhost-user-blk: add discard/write zeroes features support
How do we fix that?
Dave
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 9 lines · Dr. David Alan Gilbert
Hi,
Lukáš reported that there's a migration breakage between 3.1 and
current head with virtio-blk; it looks like the io bar changes from 64
to 128 bytes and my bisect suggests it's:commit
caa1ee43131c060347b32893abd41fe4865eaa2e(HEAD, refs/bisect/bad)Author: Changpeng Liu <[email protected]> Date: Wed Jan 16 13:19:30 2019 +0800
Quoted 6 lines
vhost-user-blk: add discard/write zeroes features support
How do we fix that?
Dave
Quickly :)
See the logic around virtio_net_set_config_size and static VirtIOFeature feature_sizes - we need to add something similar to virtio blk now.
Quoted 2 lines
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 25 lines
-----Original Message-----
From: Michael S. Tsirkin [mailto:[email protected]]
Sent: Tuesday, February 12, 2019 1:23 AM
To: Dr. David Alan Gilbert <[email protected]>
Cc: [email protected]; Liu, Changpeng <[email protected]>; [email protected]; [email protected]
Subject: Re: virtio-blk io bar size changedQuoted 14 lines · Dr. David Alan Gilbert
Hi,
Lukáš reported that there's a migration breakage between 3.1 and
current head with virtio-blk; it looks like the io bar changes from 64
to 128 bytes and my bisect suggests it's:commit
caa1ee43131c060347b32893abd41fe4865eaa2e(HEAD, refs/bisect/bad)Author: Changpeng Liu <[email protected]> Date: Wed Jan 16 13:19:30 2019 +0800vhost-user-blk: add discard/write zeroes features support
How do we fix that?
Quoted 7 lines
Quoted 1 line
Dave
Quickly :)
See the logic around
virtio_net_set_config_sizeand static VirtIOFeaturefeature_sizes- we need to add something similar to virtio blk now.
Correct, after this commit the BAR config size is changed, I will submit a patch to fix this.
Quoted 4 lines
Quoted 4 lines
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 25 lines · Changpeng
Quoted 25 lines
-----Original Message-----
From: Michael S. Tsirkin [mailto:[email protected]]
Sent: Tuesday, February 12, 2019 1:23 AM
To: Dr. David Alan Gilbert <[email protected]>
Cc: [email protected]; Liu, Changpeng <[email protected]>; [email protected]; [email protected]
Subject: Re: virtio-blk io bar size changedQuoted 14 lines · Dr. David Alan Gilbert
Hi,
Lukáš reported that there's a migration breakage between 3.1 and
current head with virtio-blk; it looks like the io bar changes from 64
to 128 bytes and my bisect suggests it's:commit
caa1ee43131c060347b32893abd41fe4865eaa2e(HEAD, refs/bisect/bad)Author: Changpeng Liu <[email protected]> Date: Wed Jan 16 13:19:30 2019 +0800vhost-user-blk: add discard/write zeroes features support
How do we fix that?
Quoted 8 lines
Quoted 7 lines
Quoted 1 line
Dave
Quickly :)
See the logic around
virtio_net_set_config_sizeand static VirtIOFeaturefeature_sizes- we need to add something similar to virtio blk now.Correct, after this commit the BAR config size is changed, I will submit a patch to fix this.
Thanks!
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK