[GH-ISSUE #313] mount a usb stick to a VM #210

Open
opened 2026-02-27 15:57:46 +03:00 by kerem · 2 comments
Owner

Originally created by @iliassch on GitHub (May 20, 2020).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/313

Hi,

Is there a way to mount to an existing VM , a usb stick that has been physically connected to the server that hosts the VM?

Originally created by @iliassch on GitHub (May 20, 2020). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/313 Hi, Is there a way to mount to an existing VM , a usb stick that has been physically connected to the server that hosts the VM?
Author
Owner

@catborise commented on GitHub (May 20, 2020):

@iliassch yes you can mount it but you should use virt-manager. (install virt-manager to hypervisor host)

we do not implement pyhsical dev management of libvirt.

<!-- gh-comment-id:631475962 --> @catborise commented on GitHub (May 20, 2020): @iliassch yes you can mount it but you should use virt-manager. (install virt-manager to hypervisor host) we do not implement pyhsical dev management of libvirt.
Author
Owner

@iliassch commented on GitHub (May 25, 2020):

Hi @catborise , thanks for your answer. Yes i have tried it with a locally installed program(either virt-manager or virt-viewer) through SSH and X11 and it worked. If you change display to SPICE server instead of VNC , there is an active usb redirect button to both programs. I just wondering how you can do it remotely through webvirtcloud or without ssh access , connect to the SPICE server , retrieve physically connected usb devices and mount them to the VM.

Possibly with an extension of noVNC or something , to send a command to retrieve devices and then select the proper one.

<!-- gh-comment-id:633575495 --> @iliassch commented on GitHub (May 25, 2020): Hi @catborise , thanks for your answer. Yes i have tried it with a locally installed program(either virt-manager or virt-viewer) through SSH and X11 and it worked. If you change display to SPICE server instead of VNC , there is an active usb redirect button to both programs. I just wondering how you can do it remotely through webvirtcloud or without ssh access , connect to the SPICE server , retrieve physically connected usb devices and mount them to the VM. Possibly with an extension of noVNC or something , to send a command to retrieve devices and then select the proper one.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#210
No description provided.