From dbca7c62ad36888de416200ffebf02f0be86665d Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Thu, 27 May 2021 18:16:30 +0300 Subject: [PATCH] Also set fp regs --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index f3e382f..0ace488 100644 --- a/main.c +++ b/main.c @@ -358,6 +358,8 @@ int main(int argc, char **argv) { if (ioctl(vcpu, KVM_SET_REGS, ®s) == -1) abort(); + if (ioctl(vcpu, KVM_SET_FPU, &fpregs) == -1) + abort(); const struct kvm_guest_debug dbg = { .control = KVM_GUESTDBG_ENABLE | KVM_GUESTDBG_SINGLESTEP -- 2.30.2