aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-01-26 23:35:29 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2011-01-26 23:35:29 -0500
commita1e5ebece54155796852b59fdb6c950d2d5589c1 (patch)
treebdf6fac037cd8303d487177fae34a4320514d590
parent3a58b3936151f954be18286877c0398afeaf7317 (diff)
downloadkvm-manager-a1e5ebece54155796852b59fdb6c950d2d5589c1.tar.gz
kvm-manager-a1e5ebece54155796852b59fdb6c950d2d5589c1.tar.bz2
remove explicit PCI device addresses, switch NIC to virtio
-rwxr-xr-xkvm-manager6
1 files changed, 3 insertions, 3 deletions
diff --git a/kvm-manager b/kvm-manager
index e838f70..a44634d 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -72,11 +72,11 @@ up() {
-chardev "socket,id=monitor,path=$OWNERHOME/vms/$VMNAME/monitor,server,nowait" -mon chardev=monitor,mode=readline \
-rtc base=utc \
-usb \
- -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 \
+ -device virtio-balloon-pci,id=balloon0,bus=pci.0 \
-chardev stdio,id=serial0 -device isa-serial,chardev=serial0 \
-smp "${SMP:-1},maxcpus=${MAXCPUS:-8}" \
- -net nic,"macaddr=$MAC" \
- -net "tap,ifname=$TAP,script=no,downscript=no" \
+ -device "virtio-net-pci,vlan=0,id=net0,mac=$MAC,bus=pci.0" \
+ -net "tap,ifname=$TAP,script=no,downscript=no,vlan=0,name=hostnet0" \
-no-reboot
}