qemu-devel
[Top][All Lists]
Advanced

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

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


From: Andrea Bolognani
Subject: Re: [Qemu-devel] [PATCH v2] q35: Improve sample configuration files
Date: Thu, 02 Feb 2017 11:39:35 +0100

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 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 the potential to give you some unexpected results
but I'd say it's still entirely reasonable.

So what do you think, should q35-emulated.cfg recommend the
use of -nodefaults the same way q35-virtio-*.cfg do and add
the video card (cirrus-vga?) and Ethernet adapter explicitly?

The advantage in doing so would be that we would provide
maybe slightly more documentation, and we would be able to
plug the Ethernet adapter at 19.0 instead of 02.0, which as
I understand it matches real hardware better.

-- 
Andrea Bolognani / Red Hat / Virtualization



reply via email to

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