qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: qdev property bug?


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] Re: qdev property bug?
Date: Mon, 14 Dec 2009 18:20:22 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

On Mon, Dec 14, 2009 at 08:25:53AM -0600, Anthony Liguori wrote:
> Michael S. Tsirkin wrote:
>>
>> Further, we should error out when device is added.
>> Doing this during boot is way too late, management
>> won't be able to understand such errors and
>> won't be able to recover.
>>   
>
> I don't quite understand this.
>
> In 0.11, we never loaded option roms unless a user specified -boot n.   
> If a user specified -boot n and used more than one nic type, I'm fairly  
> certain it would error out during start up because it would run out of  
> option rom space.  Maybe it required three types of nics, but the point  
> still remains.
>
> In 0.12, we always load the option rom for a PCI device.  An easy  
> solution here would be to just gracefully handle the case where we ran  
> out of option rom space and (silently) stop loading additional roms.   
> With respect to -boot n, it makes the behavior buggy (you cannot boot  
> from the second nic) but my original point is that that is not a  
> regression from 0.11.

Sorry, I misunderstood what you were saying.  I thought you suggested
handling it with exit(1) or something like that.  Yes, this hack will
work I think, unless we want to go back to 0.11 behaviour.

> For 0.13, we should probably allow a user to suppress option rom loading  
> for a given PCI device.  The limited space is a pretty good  
> justification for that.
>
> Regards,
>
> Anthony Liguori
>
>>> -- 
>>> MST
>>>     




reply via email to

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