mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-21 18:03:56 +03:00
add vmxnet3 to list of available network card models
This commit is contained in:
parent
87c5bc3493
commit
e4c6e0b88c
@ -465,7 +465,7 @@ my $MAX_SERIAL_PORTS = 4;
|
||||
my $MAX_PARALLEL_PORTS = 3;
|
||||
|
||||
my $nic_model_list = ['rtl8139', 'ne2k_pci', 'e1000', 'pcnet', 'virtio',
|
||||
'ne2k_isa', 'i82551', 'i82557b', 'i82559er'];
|
||||
'ne2k_isa', 'i82551', 'i82557b', 'i82559er', 'vmxnet3'];
|
||||
my $nic_model_list_txt = join(' ', sort @$nic_model_list);
|
||||
|
||||
my $netdesc = {
|
||||
@ -1220,7 +1220,7 @@ sub parse_net {
|
||||
|
||||
foreach my $kvp (split(/,/, $data)) {
|
||||
|
||||
if ($kvp =~ m/^(ne2k_pci|e1000|rtl8139|pcnet|virtio|ne2k_isa|i82551|i82557b|i82559er)(=([0-9a-f]{2}(:[0-9a-f]{2}){5}))?$/i) {
|
||||
if ($kvp =~ m/^(ne2k_pci|e1000|rtl8139|pcnet|virtio|ne2k_isa|i82551|i82557b|i82559er|vmxnet3)(=([0-9a-f]{2}(:[0-9a-f]{2}){5}))?$/i) {
|
||||
my $model = lc($1);
|
||||
my $mac = defined($3) ? uc($3) : PVE::Tools::random_ether_addr();
|
||||
$res->{model} = $model;
|
||||
|
@ -7,6 +7,9 @@ qemu-server (3.1-11) unstable; urgency=low
|
||||
* add 'pvscsi' to the list of scsi controllers (emulate the VMware
|
||||
PVSCSI device)
|
||||
|
||||
* add 'vmxnet3' to the list of available network card models (emulate
|
||||
VMware paravirtualized network card)
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Tue, 03 Dec 2013 10:48:33 +0100
|
||||
|
||||
qemu-server (3.1-10) unstable; urgency=low
|
||||
|
Loading…
x
Reference in New Issue
Block a user