Stefan Hajnoczi 8a873ba780 virtio-blk: restore VirtIOBlkConf->config_wce flag
Two slightly different versions of a patch to conditionally set
VIRTIO_BLK_F_CONFIG_WCE through the "config-wce" qdev property have been
applied (ea776abca and eec7f96c2).  David Gibson
<david@gibson.dropbear.id.au> noticed that the "config-wce"
property is broken as a result and fixed it recently.

The fix sets the host_features VIRTIO_BLK_F_CONFIG_WCE bit from a qdev
property.  Unfortunately, the virtio device then has no chance to test
for the presence of the feature bit during virtio_blk_init().

Therefore, reinstate the VirtIOBlkConf->config_wce flag.  Drop the
duplicate qdev property to set the host_features bit.  The
VirtIOBlkConf->config_wce flag will be used by virtio-blk-data-plane in
a later patch.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-01-02 15:59:20 +01:00
2012-12-17 14:01:41 +01:00
2013-01-02 15:58:09 +01:00
2012-12-19 08:29:06 +01:00
2012-12-22 12:06:48 +00:00
2012-10-24 10:26:22 +02:00
2012-12-29 12:21:53 +00:00
2012-12-22 12:04:00 +00:00
2012-11-01 13:10:06 +01:00
2012-12-20 23:08:47 +01:00
2013-01-02 15:58:09 +01:00
2012-12-22 12:04:00 +00:00
2012-12-20 23:09:25 +01:00
2012-12-03 14:08:40 -06:00
2012-12-22 12:04:44 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%