search for: get_opt_nam

Displaying 2 results from an estimated 2 matches for "get_opt_nam".

Did you mean: get_opt_name
2018 Apr 03
2
[RFC PATCH 1/3] qemu: virtio-bypass should explicitly bind to a passthrough device
...#39;:'))) { > + error_setg(errp, "Invalid id: backup=%s, " > + "correct format should be backup=" > + "'<bus-id>:<slot>[.<function>]'", id); > + return -1; > + } > + get_opt_name(value, sizeof(value), id, ':'); > + if (pc != id + 1) { > + bus = qbus_find(value, errp); > + if (!bus) > + return -1; > + > + class = object_get_class(OBJECT(bus)); > + if (class != object_class_by_name(TYPE_PCI_BUS) &&amp...
2018 Apr 04
0
[virtio-dev] Re: [RFC PATCH 1/3] qemu: virtio-bypass should explicitly bind to a passthrough device
...+ error_setg(errp, "Invalid id: backup=%s, " >> + "correct format should be backup=" >> + "'<bus-id>:<slot>[.<function>]'", id); >> + return -1; >> + } >> + get_opt_name(value, sizeof(value), id, ':'); >> + if (pc != id + 1) { >> + bus = qbus_find(value, errp); >> + if (!bus) >> + return -1; >> + >> + class = object_get_class(OBJECT(bus)); >> + if (class != object_class_by_...