Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-03 Thread Andrea Bolognani
On Thu, 2017-02-02 at 23:13 +0100, Gerd Hoffmann wrote: > > Not sure about this one. It doesn't show up on my laptop, > > so it's not like every single q35-based physical machine has > > it. >  > Is your laptop really q35+ich9 or something newer? Nope, something newer. Sorry for overlooking this.

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-02 Thread Marcel Apfelbaum
On 02/03/2017 12:13 AM, Gerd Hoffmann wrote: On Do, 2017-02-02 at 16:20 +0100, Andrea Bolognani wrote: On Thu, 2017-02-02 at 16:42 +0200, Marcel Apfelbaum wrote: [...] I personally don't use them because every time I try, I find something with no config support Is that so? Can you pl

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-02 Thread Gerd Hoffmann
On Do, 2017-02-02 at 16:20 +0100, Andrea Bolognani wrote: > On Thu, 2017-02-02 at 16:42 +0200, Marcel Apfelbaum wrote: > [...] > > > +[device "ich9-pcie-port-1"] > > > > I would use the new generic root port. > > This sample configuration (q35-emulated.cfg) is supposed to > match physical hardwar

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-02 Thread Marcel Apfelbaum
On 02/02/2017 05:20 PM, Andrea Bolognani wrote: On Thu, 2017-02-02 at 16:42 +0200, Marcel Apfelbaum wrote: [...] +[device "ich9-pcie-port-1"] I would use the new generic root port. This sample configuration (q35-emulated.cfg) is supposed to match physical hardware as closely as possible, so

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-02 Thread Andrea Bolognani
On Thu, 2017-02-02 at 16:42 +0200, Marcel Apfelbaum wrote: [...] > > +[device "ich9-pcie-port-1"] >  > I would use the new generic root port. This sample configuration (q35-emulated.cfg) is supposed to match physical hardware as closely as possible, so we should stick with ioh3420s. [...] > > +[d

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-02 Thread Marcel Apfelbaum
On 02/01/2017 07:20 PM, Andrea Bolognani wrote: Instead of having a single sample configuration file, we now have several: * q35-emulated.cfg documents the default devices QEMU adds to a q35 guest and the additional devices that are pretty much guaranteed to be present in a physica

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-02 Thread Gerd Hoffmann
Hi, > > If you add a video card manually (via -device or config file entry) qemu > > will not add the default video card. > > > > Likewise, if you add a NIC manually, qemu will not add the default > > ethernet device (and IIRC creating the default netdev will be skipped > > too). > > This has

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-02 Thread Andrea Bolognani
On Thu, 2017-02-02 at 08:49 +0100, Gerd Hoffmann wrote: > Oh yes, the wonderful confusing world of default devices ;) >  > So, if you run qemu with "-nodefaults" it will not add those two > devices. And I wouldn't have it any other way ;) > If you add a video card manually (via -device or config

Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-01 Thread Gerd Hoffmann
Hi, > * Document more devices: > - the video card is added by default; > - so is the Ethernet adapter, apparently. > > The last part seems to clash with some of Gerd's comments, > so I'm kinda puzzled. Oh yes, the wonderful confusing world of default devices ;) So, if you run qemu w

[Qemu-devel] [PATCH v2] q35: Improve sample configuration files

2017-02-01 Thread Andrea Bolognani
Instead of having a single sample configuration file, we now have several: * q35-emulated.cfg documents the default devices QEMU adds to a q35 guest and the additional devices that are pretty much guaranteed to be present in a physical q35-based machine; * q35-virtio-graphical.cfg