]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/virt: Support legacy -nic command line syntax
authorAshok Kumar <ashoks@broadcom.com>
Mon, 11 Jan 2016 15:52:18 +0000 (15:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Jan 2016 16:04:50 +0000 (16:04 +0000)
commitfea9b3ca9cc4685f89e0b929a61e51098fbb4f49
tree8b3d2f11cfbcf8c3ae5d8350829a341556f2679d
parent5de6f3c0f4641a6c08be62a75546a3e2529eebf5
hw/arm/virt: Support legacy -nic command line syntax

Support the legacy -nic syntax for creating PCI network devices
as well as the new-style -device options. This makes life easier
for people moving from x86 KVM virtualization to ARM KVM virtualization
and expecting their network configuration options to work the same
way for both setups.

We use "virtio" as the default NIC model if the user doesn't specify one.

Signed-off-by: Ashok Kumar <ashoks@broadcom.com>
Message-id: 1452091659-17698-1-git-send-email-ashoks@broadcom.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: expanded and clarified commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c