Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 607467 Details for
Bug 837321
viostor does not write guest features
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
test patch for qemu
features.patch (text/plain), 641 bytes, created by
Paolo Bonzini
on 2012-08-28 10:29:02 UTC
(
hide
)
Description:
test patch for qemu
Filename:
MIME Type:
Creator:
Paolo Bonzini
Created:
2012-08-28 10:29:02 UTC
Size:
641 bytes
patch
obsolete
>diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c >index fd8fa90..68d8a20 100644 >--- a/hw/virtio-blk.c >+++ b/hw/virtio-blk.c >@@ -540,6 +540,7 @@ static uint32_t virtio_blk_get_features(VirtIODevice *vdev, uint32_t features) > if (bdrv_is_read_only(s->bs)) > features |= 1 << VIRTIO_BLK_F_RO; > >+ printf("host features %x\n", features); > return features; > } > >@@ -553,6 +554,7 @@ static void virtio_blk_set_status(VirtIODevice *vdev, uint8_t status) > } > > features = vdev->guest_features; >+ printf("guest features %x\n", features); > bdrv_set_enable_write_cache(s->bs, !!(features & (1 << VIRTIO_BLK_F_WCE))); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 837321
: 607467