[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] hw/pci: Add e1000e NIC as command line argument
From: |
Lukas Humbel |
Subject: |
Re: [Qemu-devel] [PATCH] hw/pci: Add e1000e NIC as command line argument |
Date: |
Tue, 17 Oct 2017 08:33:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 16.10.2017 19:02, Michael S. Tsirkin wrote:
> On Mon, Oct 16, 2017 at 06:03:36PM +0200, address@hidden wrote:
>> From: Lukas Humbel <address@hidden>
>>
>> Signed-off-by: Lukas Humbel <address@hidden>
> 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