summaryrefslogtreecommitdiff
path: root/net/8021q/vlanproc.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2013-01-21 15:36:49 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2013-01-24 00:40:31 -0200
commit141687869fb904e912568c6b94a6b1fa2114f6ed (patch)
tree6c2c62b50e8b499db77ecb5f1b1d1570f06d49a8 /net/8021q/vlanproc.h
parent378a8b099fc207ddcb91b19a8c1457667e0af398 (diff)
KVM: VMX: set vmx->emulation_required only when needed.
If emulate_invalid_guest_state=false vmx->emulation_required is never actually used, but it ends up to be always set to true since handle_invalid_guest_state(), the only place it is reset back to false, is never called. This, besides been not very clean, makes vmexit and vmentry path to check emulate_invalid_guest_state needlessly. The patch fixes that by keeping emulation_required coherent with emulate_invalid_guest_state setting. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'net/8021q/vlanproc.h')
0 files changed, 0 insertions, 0 deletions