On Thu, Mar 22, 2012 at 10:27 AM, Gerd Hoffmann <kra...@redhat.com> wrote:
>>> +    if (proxy->class_code != PCI_CLASS_OTHERS &&
>>> +        proxy->class_code != PCI_CLASS_MEMORY_RAM) /* qemu < 1.1 */
>>> +        proxy->class_code = PCI_CLASS_OTHERS;
>>> +
>>
>> Why is this hunk is needed?
>
> Catch users doing -device virtio-balloon,class=42

I see that the other virtio devices that have a class property also do
this.  Sorry, my bad.

Stefan

Reply via email to