qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto


From: Max Krasnyansky
Subject: Re: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto connect.
Date: Mon, 18 Aug 2008 11:46:19 -0700
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Avi Kivity wrote:
Max Krasnyansky wrote:
btw Interface to HAL might still be useful in general to monitor other device
classes that we may want to automatically assign to the VMs. So I'll play
around with that too (some day :)).

Assign to which VMs?

Interfacing with HAL is definitely the management layer's tasks, not qemu, which only knows about one guest.

With my USB patches you can now do
        qemu -name VM1 ... -usb -usbdevice host:5.*
which will dynamically grab any USB device that is attached to port 5.
And you can start another instance with
        qemu -name VM2 ... -usb -usbdevice host:6.*
and so on.
That's what I meant by assigning to the VM. ie In the example above port5 is assigned to VM1 and port6 to VM2.

We might want to do this with other devices (disks maybe).

Max







reply via email to

[Prev in Thread] Current Thread [Next in Thread]