5
Virtualization: KQEmu and KVM are two approaches for paravirtualization. From
6
performance point of view, their are quite close. Benchmarks:
7
http://www.linuxinsight.com/finally-user-friendly-virtualization-for-linux.html
10
a) KQEmu provides alternative (to kvm) kernel module, which should be loaded
12
b) KVM app. is a slighly modified qemu to get benefits of kvm kernel module.
13
However, it requires qemu to be installed and uses parts of qemu's
17
1. Converting VMWare images
18
qemu-img convert W2K.vmdk -O qcow2 ../w2k.bin
20
2. Mounting qcow2 images
21
we need nbd, and at least kvm-70 (include qemu-nbd)
24
qemu-nbd w2k.bin --bind=127.0.0.1
29
nbd-client 127.0.0.1 1024 /dev/nbd0
32
populating partitions in /dev/mapper:
33
kpartx -a /dev/nbd0 (kpartx is from 'multipath-tools' package)
35
mounting ntfs filesystem:
36
mount -t ntfs-3g /dev/mapper/nbd0p1 /mnt/tmp2/ -o force
39
nbd-client -d /dev/nbd0
42
- Please note that read-write nbd with client and server on the same
43
machine is a bad idea: expect deadlock within seconds (this may vary
44
between kernel versions, maybe on one sunny day it will be even safe?).
45
Read-write nbd with client and server on some machine has a rather
46
fundamental problem: when the system is short of memory, it tries to
47
write back dirty pages. So the nbd client asks the nbd server to write
48
back data, but as nbd-server is a userland process, it may require
49
creating dirty pages to fullfill the request. That way lies the
50
deadlock. Note also that the README in the source has a (slightly) more
51
in-depth discussion of this problem.
53
2. Handling Windows installed on SCSI disk in VMWare:
54
- Boot from Windows install CD and upgrade windows installation.
55
Reinstall all service packs and hotfixes.
57
3. Changing to control console
58
ctrl+alt+2 (ctrl+alt+1 - go back)
60
4. Save/Restore current state (Suspend/Resume in VMWare)
61
Save: savevm <state_id>
62
Restore: qemu -loadvm <state_id>
63
Info: info snapshots (within qemu console)
65
Question: Synchronization with disk images????
67
5. Better screen resolution
68
-std-vga (requirment is a standard VESA driver in guest)
70
6. Mouse is not completely grabbed
71
-usb -usbdevice tablet
73
7. Copy/Paste between host and guest
75
http://wolfpackally.wo.funpic.de/qemu/qgt/readme.txt
76
or other network based clipboard sharing programms.
79
ctrl+alt+f - Full screen mode
80
ctrl+PgUp/PgDown - Scroll console up & down
83
- No screen autoresizing (autoresolution)
86
http://borderworlds.dk/blog/20070217-00.html
b'\\ No newline at end of file'