From: Lauri Kasanen Date: Thu, 27 May 2021 15:16:30 +0000 (+0300) Subject: Also set fp regs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbca7c62ad36888de416200ffebf02f0be86665d;p=kvm-minippc.git Also set fp regs --- 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