Commit d814738
committed
KVM: interrupt kvm_gmem_populate() on signals
kvm_gmem_populate() is a potentially lengthy operation that can involve
multiple calls to the firmware. Interrupt it if a signal arrives.
Fixes: 1f6c06b ("KVM: guest_memfd: Add interface for populating gmem pages with user data")
Cc: Isaku Yamahata <[email protected]>
Cc: Michael Roth <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>1 parent f99b052 commit d814738
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
632 | 637 | | |
633 | 638 | | |
634 | 639 | | |
| |||
0 commit comments