|
From: | Gerd Hoffmann |
Subject: | [Qemu-devel] Re: [PATCHv4 2/2] virtio: add features as qdev properties |
Date: | Mon, 04 Jan 2010 15:24:18 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4 |
On 12/24/09 13:44, Michael S. Tsirkin wrote:
Add feature bits as properties to virtio. This makes it possible to e.g. define machine without indirect buffer support, which is required for 0.10 compatibility, or without hardware checksum support, which is required for 0.11 compatibility. Since default values for optional features are now set by qdev, get_features callback has been modified: it sets non-optional bits, and clears bits not supported by host.
I guess you'll need a bunch of entries for pc-0.10 and pc-0.11 to switch the virtio devices into the correct compatibility modes? Should probably go as patch #3 of this series.
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |