[libvirt] PATCH add q35 support ide

Paul Schlacter wlfightup at gmail.com
Fri Feb 2 03:35:59 UTC 2018


ping


On Thu, Nov 30, 2017 at 6:04 PM, Daniel P. Berrange <berrange at redhat.com>
wrote:

> On Thu, Nov 30, 2017 at 09:50:01AM +0800, Paul Schlacter wrote:
> > hello everyone:
> >     In q35 motherboard use ide,  Currently, the qemu has supported q35
> > Motherboard support ide bus
>
> IIRC, this is not quite correct - q35 has a built-in  SATA controller,
> as opposed to IDE controller. You can potentially add an IDE controller
> as an optional extra.
>
> > diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
> > index cc7596b..2dbade8 100644
> > --- a/src/qemu/qemu_domain.c
> > +++ b/src/qemu/qemu_domain.c
> > @@ -7188,6 +7188,7 @@ bool
> >  qemuDomainMachineHasBuiltinIDE(const char *machine)
> >  {
> >      return qemuDomainMachineIsI440FX(machine) ||
> > +        qemuDomainMachineIsQ35(machine) ||
> >          STREQ(machine, "malta") ||
> >          STREQ(machine, "sun4u") ||
> >          STREQ(machine, "g3beige");
>
> I don't see an equivalent  qemuDomainMachineHasBuiltinSATA method,
> so I wonder if there's any logic we're missing in this respect ?
> Perhaps Laine or someone more recenty familiar wit the code can
> comment...
>
> Regards,
> Daniel
> --
> |: https://berrange.com      -o-    https://www.flickr.com/photos/
> dberrange :|
> |: https://libvirt.org         -o-
> https://fstop138.berrange.com :|
> |: https://entangle-photo.org    -o-    https://www.instagram.com/dber
> range :|
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180202/4709688a/attachment-0001.htm>


More information about the libvir-list mailing list