qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Exposing different e1000 models through cmdline
@ 2015-01-20 14:08 Peter Lieven
  2015-01-20 14:09 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Lieven @ 2015-01-20 14:08 UTC (permalink / raw)
  To: mst, Stefan Hajnoczi, qemu-devel@nongnu.org

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-20 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-20 14:08 [Qemu-devel] Exposing different e1000 models through cmdline Peter Lieven
2015-01-20 14:09 ` Michael S. Tsirkin

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).