ich habe einen Linux-Gast ist einer KVM laufen, in einem QCOW2-File:
Code: Alles auswählen
# virt-install --connect qemu:///system -n suse111 -r 6144 --vcpus=4 --disk path=/var/lib/kvm/suse111/suse111,bus=virtio,size=185
--disk path=/dev/vg-prax1/suse111kvmSwap,bus=virtio,cache=none,size=4 --cdrom=/home/openSUSE-11.1-DVD-i586.iso --vnc
--noautoconsole --os-type linux --os-variant virtio26 --accelerate --network=bridge:br0,model=virtio --hvm
Code: Alles auswählen
suse111:~ # fdisk -l
Platte /dev/vda: 198.6 GByte, 198642237440 Byte
255 Köpfe, 63 Sektoren/Spuren, 24150 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x0001ebab
Gerät boot. Anfang Ende Blöcke Id System
/dev/vda1 * 2 3917 31455270 83 Linux
/dev/vda2 3918 24150 162521572+ f W95 Erw. (LBA)
Platte /dev/vdb: 5368 MByte, 5368709120 Byte
255 Köpfe, 63 Sektoren/Spuren, 652 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x00085c26
Gerät boot. Anfang Ende Blöcke Id System
/dev/vdb1 2 652 5229157+ 82 Linux Swap / Solaris
Eckard