Skip to contentSkip to conversation

kvmppc: deliver INTERRUPT_FP_UNAVAIL to the guest

PATCH In review Hollis Blanchard 2 participants 2 messages Apr 29, 2008 – Apr 30, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvmppc: deliver INTERRUPT_FP_UNAVAIL to the guest

Avi, please apply for 2.6.26.

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center

From: Christian Ehrhardt <[email protected]>

This patch adds the delivery of INTERRUPT_FP_UNAVAIL exceptions to the guest. It's needed if a guest uses ppc binaries using the Floating point instructions.

---

[diffstat]

[diff]

 booke_guest.c |    5 +++++
 1 files changed, 5 insertions(+)
arch/powerpc/kvm/booke_guest.c +5 -0
@@ -340,6 +340,11 @@ int kvmppc_handle_exit(struct kvm_run *r
 		default:
 			BUG();
 		}
+		break;
+
+	case BOOKE_INTERRUPT_FP_UNAVAIL:
+		kvmppc_queue_exception(vcpu, exit_nr);
+		r = RESUME_GUEST;
 		break;
 
 	case BOOKE_INTERRUPT_DATA_STORAGE:

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-ppc-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

#1 lore raw
Quoted 5 lines · Hollis Blanchard

Avi, please apply for 2.6.26.

Sure thing. Thanks.

Signature · 8 lines
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone