Commit f4d3165
committed
KVM: generalize "bugged" VM to "dead" VM
Generalize KVM_REQ_VM_BUGGED so that it can be called even in cases
where it is by design that the VM cannot be operated upon. In this
case any KVM_BUG_ON should still warn, so introduce a new flag
kvm->vm_dead that is separate from kvm->vm_bugged.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent b67a4cc commit f4d3165
3 files changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9654 | 9654 | | |
9655 | 9655 | | |
9656 | 9656 | | |
9657 | | - | |
| 9657 | + | |
9658 | 9658 | | |
9659 | 9659 | | |
9660 | 9660 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
| 620 | + | |
620 | 621 | | |
621 | 622 | | |
622 | 623 | | |
| |||
650 | 651 | | |
651 | 652 | | |
652 | 653 | | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
653 | 660 | | |
654 | 661 | | |
655 | 662 | | |
656 | | - | |
| 663 | + | |
657 | 664 | | |
658 | 665 | | |
| 666 | + | |
659 | 667 | | |
660 | 668 | | |
661 | 669 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3747 | 3747 | | |
3748 | 3748 | | |
3749 | 3749 | | |
3750 | | - | |
| 3750 | + | |
3751 | 3751 | | |
3752 | 3752 | | |
3753 | 3753 | | |
| |||
3957 | 3957 | | |
3958 | 3958 | | |
3959 | 3959 | | |
3960 | | - | |
| 3960 | + | |
3961 | 3961 | | |
3962 | 3962 | | |
3963 | 3963 | | |
| |||
4023 | 4023 | | |
4024 | 4024 | | |
4025 | 4025 | | |
4026 | | - | |
| 4026 | + | |
4027 | 4027 | | |
4028 | 4028 | | |
4029 | 4029 | | |
| |||
4345 | 4345 | | |
4346 | 4346 | | |
4347 | 4347 | | |
4348 | | - | |
| 4348 | + | |
4349 | 4349 | | |
4350 | 4350 | | |
4351 | 4351 | | |
| |||
4556 | 4556 | | |
4557 | 4557 | | |
4558 | 4558 | | |
4559 | | - | |
| 4559 | + | |
4560 | 4560 | | |
4561 | 4561 | | |
4562 | 4562 | | |
| |||
0 commit comments