kvm: 16-bit code execution failure should be more friendly

Bug #530077 reported by Anthony Liguori
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
QEMU
Expired
High
Unassigned

Bug Description

Today, when kvm fails at 16-bit code execution, we report:

     spirit:~/qemu> qemu-kvm ./hda-fedora.img
     kvm: unhandled exit 80000021
     kvm_run returned -22

There are three reasons exit reason 21 happens. The first is that a user is executing an image containing a workload that uses GFXBOOT or some other bootloader that exercises big real mode. On pre-Westmere Intel processors, VT could not handle big real mode. The second reason is that the guest's image is corrupted and we're executing random code. We accidentally fall into one of the unsupported modes for VT. Again, this is addressed on WSM. The third case is where there's an actual bug in KVM. This should be exceedingly rare at this stage.

We should present a friendly error message explaining the possible causes and recommending corrective action.

Changed in qemu:
assignee: nobody → Anthony Liguori (anthony-codemonkey)
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Thomas Huth (th-huth) wrote :

Triaging old bug tickets... has this ever been fixed, thus could we close this ticket nowadays? Or is there something left to do here?

Changed in qemu:
status: Confirmed → Incomplete
assignee: Anthony Liguori (anthony-codemonkey) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.