qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Remove PCI class code from virtio balloon devic


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] Remove PCI class code from virtio balloon device
Date: Thu, 22 Mar 2012 10:32:46 +0000

On Thu, Mar 22, 2012 at 10:27 AM, Gerd Hoffmann <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]