qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/i386: Deprecate the machine types pc-0.10 an


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PATCH] hw/i386: Deprecate the machine types pc-0.10 and pc-0.11
Date: Wed, 20 Jun 2018 19:43:56 -0300
User-agent: Mutt/1.9.2 (2017-12-15)

(CCing Markus and libvir-list)

On Wed, Jun 20, 2018 at 08:40:38PM +0200, Thomas Huth wrote:
> On 12.06.2018 00:18, Eduardo Habkost wrote:
> > On Mon, Jun 11, 2018 at 05:41:04AM +0200, Thomas Huth wrote:
> >> The oldest machine type which is still used in a maintained distribution
> >> is a pc-0.12 based machine type in RHEL6, so everything that is older
> >> than pc-0.12 should not be used anymore. Thus let's deprecate pc-0.10
> >> and pc-0.11 so that we can finally remove them in a future release.
> [...]
> >> @@ -3952,6 +3953,10 @@ int main(int argc, char **argv, char **envp)
> >>      }
> >>  
> >>      machine_class = select_machine();
> >> +    if (machine_class->deprecation_msg) {
> >> +        error_report("Machine type '%s' is deprecated: %s",
> >> +                     machine_class->name, machine_class->deprecation_msg);
> >> +    }
> > 
> > Do you plan to add this info to 'query-machines' QMP command?
> 
> No, I'm not planning to add this. We'd need a request from upper layers
> (i.e. libvirt) for this first, otherwise it's just a dead interface that
> nobody is using.

I believe that useful information being available only through
stderr is at least as bad as being available only through HMP.
Should we extend QMP more proactively in cases like this, too?

(In either case, I don't think this should block your series)

-- 
Eduardo



reply via email to

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