migration wrong handling of KVM_GET_DIRTY_LOG ioctl
Bug #1294227 reported by
Mario Smarduch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In the code below kvm_vm_ioctl(...) can return --errno != -1 from ioctl call, but return only checks for -1.
Found during KVM-ARM migration which apperead to go through but was actually failing getting
memslot dirty bitmap.
static int kvm_physical_
{
....
if(kvm_vm_ioctl(s, KVM_GET_DIRTY_LOG, &d) == -1) {
- err out
}
... continue
}
Changed in qemu: | |
assignee: | nobody → Christoffer Dall (cdall) |
status: | New → In Progress |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Sent patch for error handling: lists.nongnu. org/archive/ html/qemu- devel/2014- 09/msg05633. html
http://