(qemu) info block
ide0-hd0: type=hd removable=0 file=/path/to/winxp.img
ide0-hd1: type=hd removable=0 file=/path/to/pagefile.raw
ide1-hd1: type=hd removable=0 file=/path/to/testing_data.img
ide1-cd0: type=cdrom removable=1 locked=0 file=/dev/sr0 ro=1 drv=host_device
floppy0: type=floppy removable=1 locked=0 [not inserted]
sd0: type=floppy removable=1 locked=0 [not inserted]
(qemu) change ide1-cd0 /path/to/my.iso
(qemu) change ide1-cd0 /dev/sr0 host_device
Monday, October 10, 2011
QEMU : change cdrom
http://en.wikibooks.org/wiki/QEMU/Monitor#change
pxe boot on KVM
Fedora:
http://forums.fedoraforum.org/archive/index.php/t-198552.html
Debin:
http://box.matto.nl/kvmpxe.html
Ubuntu Lucid:
http://mrpointy.wordpress.com/2010/05/03/pxe-boot-kvm-guests/
Wednesday, October 5, 2011
A brief introduction to Linux USB drivers (2)
This is the second part for the USB under Linux. The first part is here: http://jianggmulab.blogspot.com/2011/03/brief-introduction-to-linux-usb-drivers.html
Following are excerpts from LDD3.
Endpoints: the most basic form of USB communication. It has four types: control, interrupt, bulk, and isochronous.
Interfaces: may include many endpoints. Each interface handles one logical USB functions, such as a mouse, a keyboard or a audio stream.
Configurations: A USB device can have multiple configurations and switch between them. A single configuration can be enabled only at one point in time.
So to summarize, USB devices are quite complex and are made up of lots of different
logical units. The relationships among these units can be simply described as follows:
• Devices usually have one or more configurations.
• Configurations often have one or more interfaces.
• Interfaces usually have one or more settings.
• Interfaces have zero or more endpoints.
Monday, October 3, 2011
Linux Force Reboot and shutdown
http://linax.wordpress.com/2009/02/16/linux-force-reboot-and-shutdown/
Subscribe to:
Posts (Atom)