[CentOS-virt] Where is my qemu command?

Wed Apr 27 08:39:22 UTC 2011
Jussi Hirvi <listmember at greenspot.fi>

KVM virtualization is full of wonders. :-/

I would need to attach an USB disk to a vm, but how?

The command "qemu" would provide a way:

[root at a134-224 yum.repos.d]# man qemu-kvm

> QEMU(1)
> NAME
>        qemu-doc - QEMU Emulator User Documentation
>
> SYNOPSIS
>        usage: qemu [options] [disk_image]
(...)
>        -usbdevice devname
>            Add the USB device devname.

But when I try it:

[root at a134-224 yum.repos.d]# qemu start -usbdevice host:059f:1018 mail
-bash: qemu: command not found

That command syntax is probably ot right yet, but the main question is, 
where is qemu?

I was tempted to yum-install qemu from rpmforge, but I would rather not. 
Besides the rpmforge version has a conflict with another manual page.

- Jussi


-- 
Jussi Hirvi * Green Spot
Suvilahdenkatu 1 B 78 * 00500 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi