blob: f0bb3ba3bbfad1c7f0d0f411807d08ce88ef786d (
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
|
device: 0.924
socket: 0.922
instruction: 0.903
network: 0.813
vnc: 0.798
graphic: 0.761
semantic: 0.725
mistranslation: 0.669
boot: 0.557
assembly: 0.530
KVM: 0.452
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?
|