From: Lukas Humbel <lukas.humbel@inf.ethz.ch>
Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch>
---
hw/pci/pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index 1e6fb88..9d6cd04 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -1819,6 +1819,7 @@ static const char * const pci_nic_models[] = {
"i82559er",
"rtl8139",
"e1000",
+ "e1000e",
"pcnet",
"virtio",
"sungem",
@@ -1832,6 +1833,7 @@ static const char * const pci_nic_names[] = {
"i82559er",
"rtl8139",
"e1000",
+ "e1000e",
"pcnet",
"virtio-net-pci",
"sungem",
--
2.7.4
On Mon, Oct 16, 2017 at 06:03:36PM +0200, lukas.humbel@inf.ethz.ch wrote: > From: Lukas Humbel <lukas.humbel@inf.ethz.ch> > > Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch> We keep these around for legacy reasons but I'm not sure we need to add to the list. What's wrong with just creating them with -device e1000e? > --- > hw/pci/pci.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/pci/pci.c b/hw/pci/pci.c > index 1e6fb88..9d6cd04 100644 > --- a/hw/pci/pci.c > +++ b/hw/pci/pci.c > @@ -1819,6 +1819,7 @@ static const char * const pci_nic_models[] = { > "i82559er", > "rtl8139", > "e1000", > + "e1000e", > "pcnet", > "virtio", > "sungem", > @@ -1832,6 +1833,7 @@ static const char * const pci_nic_names[] = { > "i82559er", > "rtl8139", > "e1000", > + "e1000e", > "pcnet", > "virtio-net-pci", > "sungem", > -- > 2.7.4
On 16.10.2017 19:02, Michael S. Tsirkin wrote: > On Mon, Oct 16, 2017 at 06:03:36PM +0200, lukas.humbel@inf.ethz.ch wrote: >> From: Lukas Humbel <lukas.humbel@inf.ethz.ch> >> >> Signed-off-by: Lukas Humbel <lukas.humbel@inf.ethz.ch> > We keep these around for legacy reasons but I'm not sure we need to add > to the list. What's wrong with just creating them with -device e1000e? Ah, I didn't realize that the -net argument is considered legacy. I think there is nothing stopping me from using -device... Thanks, Lukas > >> --- >> hw/pci/pci.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/hw/pci/pci.c b/hw/pci/pci.c >> index 1e6fb88..9d6cd04 100644 >> --- a/hw/pci/pci.c >> +++ b/hw/pci/pci.c >> @@ -1819,6 +1819,7 @@ static const char * const pci_nic_models[] = { >> "i82559er", >> "rtl8139", >> "e1000", >> + "e1000e", >> "pcnet", >> "virtio", >> "sungem", >> @@ -1832,6 +1833,7 @@ static const char * const pci_nic_names[] = { >> "i82559er", >> "rtl8139", >> "e1000", >> + "e1000e", >> "pcnet", >> "virtio-net-pci", >> "sungem", >> -- >> 2.7.4 -- Lukas Humbel
© 2016 - 2024 Red Hat, Inc.