From: Peter Lieven <pl@kamp.de>
To: mst@redhat.com, Stefan Hajnoczi <stefanha@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Exposing different e1000 models through cmdline
Date: Tue, 20 Jan 2015 15:08:04 +0100 [thread overview]
Message-ID: <54BE6144.4020108@kamp.de> (raw)
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:
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
next reply other threads:[~2015-01-20 14:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 14:08 Peter Lieven [this message]
2015-01-20 14:09 ` [Qemu-devel] Exposing different e1000 models through cmdline Michael S. Tsirkin
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=54BE6144.4020108@kamp.de \
--to=pl@kamp.de \
--cc=mst@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).