A.4.2. Export a USB Policy

For USB device policy changes to take effect the updated policy must be exported and uploaded to the Red Hat Enterprise Virtualization Manager. Once the policy has been uploaded the jbossas service must be restarted.
  1. Double click the USB Filter Editor icon on your desktop. The Red Hat USB Filter Editor displays the current USB policies.
  2. Click the Export button. The Save As dialog displays.
  3. Save the file with a filename of usbfilter.txt.
  4. Using a Secure Copy client, such as WinSCP, upload the usbfilter.txt file to the server running Red Hat Enterprise Virtualization Manager. The file must be placed in the following directory on the server:

    /usr/share/rhevm/rhevm.ear/userportal.war/org.ovirt.engine.ui.userportal.UserPortal/consoles/spice/
  5. As the root user on the server running Red Hat Enterprise Virtualization Manager restart the jbossas service.
    # service jbossas restart
The USB Device policy will now be implemented on virtual machines running in the Red Hat Enterprise Virtualization environment.