[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [xen-devel][PATCH RFC] libxl: New xl interfaces for managing USB devices
2014-07-02 19:07 GMT+08:00 George Dunlap <george.dunlap@xxxxxxxxxxxxx>:
I list this command here because it exists in the previous xm/xend commands. Since the devices listed by "lsusb" isn't all assignable, such as the USB hubs, "usb-assginable-list" will list all the assignable devices in Dom0 that can be attached to guest VM in a manner that is suitable to usb-attach.
Â
"usb-assigned-list" is used to list all the devices that have been assigned to certain guest VMs so that users can choose from this list to detach the USB device using Â"usb-detach". It's mainly for the convenience of usb-detach, but as you've said, "xl usb-list -a" is probably a better implementation.Â
 Since the controller is created from NULL, not just attaching a device from Dom0 to DomU, maybe "create" and "destroy" are better ?Â
Â
 In this case, to specify a hostdev device we can use "hostdev = <hostbus.hostaddr>".
Okay, I will add the "-destroy" function. Â
I am using Vim, and I will replace tabs with 4 spaces. Â
I don't know the benefit of using KeyedUnion construct. Please tell me the benefit of it. Â
Yes, I will modify this. Regards, Bo _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |