4.3.2. 在 Red Hat Enterprise Linux 客户端中使用 USB 设备

usbredir 软件包支持从 Red Hat Enterprise Linux 客户端到虚拟机的 USB 重定向。usbredirvirt-viewer 包的依赖项,并与该软件包一起自动安装。

注意

仅当从虚拟机门户打开虚拟机时,才支持 USB 重定向。

在 Red Hat Enterprise Linux 客户端中使用 USB 设备

  1. ComputeVirtual Machines 并选择配置为使用 SPICE 协议的虚拟机。
  2. 确保将 USB 支持设置为 启用

    1. Edit
    2. 点击 Console 选项卡。
    3. USB 支持 下拉列表中选择 Enabled
    4. 点击 确定
  3. ConsoleConsole Options
  4. 选择 Enable USB Auto-Share 并点 OK
  5. 从虚拟机门户启动虚拟机,再单击 Console 以连接到该虚拟机。
  6. 将 USB 设备插入客户端计算机,使其自动显示在客户机计算机上。