All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Andrea Bolognani <abologna@redhat.com>
Cc: qemu-devel@nongnu.org, marcel@redhat.com, drjones@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3] q35: Improve sample configuration files
Date: Thu, 02 Feb 2017 23:07:14 +0100	[thread overview]
Message-ID: <1486073234.20628.51.camel@redhat.com> (raw)
In-Reply-To: <1486049722.3484.25.camel@redhat.com>

On Do, 2017-02-02 at 16:35 +0100, Andrea Bolognani wrote:
> On Thu, 2017-02-02 at 15:55 +0100, Gerd Hoffmann wrote:
> > > +++ b/docs/q35-emulated.cfg
> > > 
> > > +#   00:01.0 VGA compatible controller
> > > 
> > > +[device "video"]
> > > +  driver = "VGA"
> > > +  bus = "pcie.0"
> > > +  addr = "02.0"
> > 
> > Here is a address mismatch ;)
> 
> Oh, wait, I realize where the mismatch comes from now:
> on real hardware (my laptop) the video card is plugged
> into 00:02.0, but the default one you get when you don't
> pass -nodefault to QEMU is plugged into 00:01.0!

And that depends on the chipset.  On q35 it is 01.0, whereas on pc it is
02.0 because 01.0 is occupied by the piix southbridge.

> I think we should use 00:02.0, do you agree? I would
> also use the same slot in q35-virtio-graphical.cfg.

Matter of taste really.  I have some guests where the vga is at 04.0,
works fine too.  But being consistent across all configurations makes
sense.

cheers,
  Gerd

  reply	other threads:[~2017-02-02 22:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-02 14:45 [Qemu-devel] [PATCH v3] q35: Improve sample configuration files Andrea Bolognani
2017-02-02 14:55 ` Gerd Hoffmann
2017-02-02 15:24   ` Andrea Bolognani
2017-02-02 15:35   ` Andrea Bolognani
2017-02-02 22:07     ` Gerd Hoffmann [this message]
2017-02-03  8:41       ` Andrea Bolognani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1486073234.20628.51.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=abologna@redhat.com \
    --cc=drjones@redhat.com \
    --cc=marcel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.