blob: 39324739cf839c51e61e0cecb2659961df20bc71 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
device: 0.924
socket: 0.922
network: 0.813
vnc: 0.798
performance: 0.779
graphic: 0.761
semantic: 0.725
PID: 0.655
permissions: 0.602
debug: 0.595
boot: 0.557
KVM: 0.452
files: 0.442
other: 0.330
qemu will detach usbredir if backend chardev socket disconnect
Description of problem:
When using the usbredir device in the VM, initiate a hot migration to the VM.
After the migration is completed, the drive letter of the usb in the VM has changed.
Actually the device has been unplugged and re-plugged in the VM.
I think we should keep the plugged state of the device after the migration?
Steps to reproduce:
1. Start a usbredirserver `usbredirserver -p 7000 -v 4 5-2`;
2. Start a VM with a usbredir device attached to it;
3. Mount the usb device in the VM;
4. Migrate the VM, after the migration done, wait a minute,the drive letter of the usb in the VM has changed.
Additional information:
I've found this bug https://bugzilla.redhat.com/show_bug.cgi?id=1254971, this is just to allow the chardev to be reconnected in time when it is disconnected.
Can we make chardev reconnect without unpluging the usbredir device?
|