equal
deleted
inserted
replaced
|
1 .. -*- coding: utf-8; -*- |
|
2 |
|
3 ====== |
|
4 QEMU |
|
5 ====== |
|
6 .. contents:: |
|
7 :local: |
|
8 |
|
9 Install OS in QEMU |
|
10 ================== |
|
11 |
|
12 Create image in QEMU:: |
|
13 |
|
14 $ qemu-img create -f qcow2 $NAME.img 8G |
|
15 |
|
16 Install or run with ISO image attached:: |
|
17 |
|
18 $ qemu-system-i386 -hda $NAME.img -cdrom $DISTRO.iso -boot d -net nic -usb |
|
19 |
|
20 Best way to add mouse support via ``-usbdevice tablet`` because tablet device |
|
21 does not need to constantly grab mouse position:: |
|
22 |
|
23 $ qemu-system-i386 -hda $NAME.img -boot d -net nic -usb -usbdevice tablet |
|
24 |