5.0rc0->4.2 serial migraiton
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Migrating from 5.0rc0->4.2 with pc-q35-4.2 we get an error:
Unknown savevm section or instance 'serial' 1
dumping the migration streams it looks like 5.0 is duplicating the serial migration data:
"serial (26)": {
"divider": "0x000c",
"rbr": "0x00",
"ier": "0x00",
"iir": "0x01",
"lcr": "0x00",
"mcr": "0x00",
"lsr": "0x60",
"msr": "0xb0",
"scr": "0x00",
},
"serial (27)": {
"state": {
"rbr": "0x00",
"ier": "0x00",
"iir": "0x01",
"lcr": "0x00",
"mcr": "0x00",
"lsr": "0x60",
"msr": "0xb0",
"scr": "0x00",
}
},
git bisect says:
c9808d602813bce 4fada7bf9ecc463 aa779b73f7 is the first bad commit 4fada7bf9ecc463 aa779b73f7
commit c9808d602813bce
Author: Marc-André Lureau <email address hidden>
Date: Tue Oct 22 01:02:50 2019 +0200
serial: realize the serial device
Instead of calling serial_ realize_ core(), use the QDev realize
callback.
Signed-off-by: Marc-André Lureau <email address hidden>
Reviewed-by: Philippe Mathieu-Daudé <email address hidden>