From: "Michael S. Tsirkin" <mst@redhat.com>
To: Peter Lieven <pl@kamp.de>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] Exposing different e1000 models through cmdline
Date: Tue, 20 Jan 2015 16:09:31 +0200 [thread overview]
Message-ID: <20150120140931.GA29362@redhat.com> (raw)
In-Reply-To: <54BE6144.4020108@kamp.de>
On Tue, Jan 20, 2015 at 03:08:04PM +0100, Peter Lieven wrote:
> Hi,
>
> I found that vmware emulates a 82545em per default and so some special crafted appliances only
> work with that card. I was wondering if the below is the right approach to make the
> models selectable via cmdline without changing the default:
No - please just use -device to create devices.
> diff --git a/hw/pci/pci.c b/hw/pci/pci.c
> index 371699c..632c4ba 100644
> --- a/hw/pci/pci.c
> +++ b/hw/pci/pci.c
> @@ -1578,6 +1578,9 @@ static const char * const pci_nic_models[] = {
> "i82559er",
> "rtl8139",
> "e1000",
> + "e1000-82540em",
> + "e1000-82544gc",
> + "e1000-82545em",
> "pcnet",
> "virtio",
> NULL
> @@ -1590,6 +1593,9 @@ static const char * const pci_nic_names[] = {
> "i82559er",
> "rtl8139",
> "e1000",
> + "e1000-82540em",
> + "e1000-82544gc",
> + "e1000-82545em",
> "pcnet",
> "virtio-net-pci",
> NULL
>
>
> Thanks,
> Peter
prev parent reply other threads:[~2015-01-20 14:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 14:08 [Qemu-devel] Exposing different e1000 models through cmdline Peter Lieven
2015-01-20 14:09 ` Michael S. Tsirkin [this message]
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=20150120140931.GA29362@redhat.com \
--to=mst@redhat.com \
--cc=pl@kamp.de \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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.