projects
/
kvm-minippc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7fe3c
)
Also set fp regs
author
Lauri Kasanen
<cand@gmx.com>
Thu, 27 May 2021 15:16:30 +0000
(18:16 +0300)
committer
Lauri Kasanen
<cand@gmx.com>
Thu, 27 May 2021 15:16:30 +0000
(18:16 +0300)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index f3e382f49c3635666fd6673296ab682b0f0ae2dd..0ace48812d8afaffba0ce87acba3cee77e01a06f 100644
(file)
--- 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