diff options
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | 2010-07-03 04:02:42 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-08-01 23:40:16 -0400 |
commit | dd180b3e90253cb4ca95d603a8c17413f8daec69 (patch) | |
tree | 9c0cc39f4088a9b54a96ab6545739e423deb3d2e /block | |
parent | 5689cc53fa9d09b5bf41b1b1a7c90bd6c112ab40 (diff) |
KVM: VMX: fix tlb flush with invalid root
Commit 341d9b535b6c simplify reload logic while entry guest mode, it
can avoid unnecessary sync-root if KVM_REQ_MMU_RELOAD and
KVM_REQ_MMU_SYNC both set.
But, it cause a issue that when we handle 'KVM_REQ_TLB_FLUSH', the
root is invalid, it is triggered during my test:
Kernel BUG at ffffffffa00212b8 [verbose debug info unavailable]
......
Fixed by directly return if the root is not ready.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions