[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V8 5/7] xl: add pvusb commands
On Thu, Nov 12, 2015 at 11:38 AM, George Dunlap <George.Dunlap@xxxxxxxxxxxxx> wrote: >> +/* Parses usb data and adds info into usb >> + * Returns 1 if the input token does not match one of the keys >> + * or parsed values are not correct. Successful parse returns 0 */ >> +static int parse_usb_config(libxl_device_usb *usb, char *token) >> +{ >> + char *oparg; >> + >> + if (MATCH_OPTION("devtype", token, oparg)) { >> + if (!strcmp("hostdev", oparg)) { >> + usb->devtype = LIBXL_USBDEV_TYPE_HOSTDEV; > > Same thing here, with libxl_usbdev_type_to_string(). Obviously I mean "type_from_string" here. -G _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |