On 2020-11-06 13:21, ToddAndMargo via users wrote:
Hi All,

Anyone know a work around for this?

    Fedroa 32, x64

    $ rpm -qa virt-manager
    virt-manager-3.1.0-1.fc32.noarch

    $ rpm -qa qemu-device-usb-redirect
    qemu-device-usb-redirect-5.1.0-7.fc32.x86_64

Bug I filed on 2020-06-23:
    libvirt.libvirtError: internal error: vendor cannot be 0.
    https://bugzilla.redhat.com/show_bug.cgi?id=1850091

I am trying to install a USB Host device for my
Samsung BAR flash drive and I get the following error:

    Unable to add device: internal error: vendor cannot be 0.

Many thanks,
-T


Using: https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-libvirt-config-virsh.html#sec-libvirt-config-usb-virsh

$ lsusb | grep -i silico
Bus 002 Device 006: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive


with `# virsh edit KVM-USB-EUFI`, I added:


    <hostdev mode='subsystem' type='usb'>
        <source startupPolicy='optional'>
        <vendor id='090C'/>
        <product id='1000'/>
       </source>

Saving gives me:
    error: XML document failed to validate against
    schema: Unable to validate doc against
    /usr/share/libvirt/schemas/domain.rng

    Extra element devices in interleave
    Element domain failed to validate content

    Failed. Try again? [y,n,i,f,?]:

What did I do wrong?


_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to