Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 835e6b80 authored by Gleb Natapov's avatar Gleb Natapov Committed by Avi Kivity
Browse files

KVM: x86 emulator mark VMMCALL and LMSW as privileged



LMSW is present in both group tables. It was marked privileged only in
one of them. Intel analog of VMMCALL is already marked privileged.

Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent f7138538
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -362,9 +362,9 @@ static u32 group_table[] = {


static u32 group2_table[] = {
static u32 group2_table[] = {
	[Group7*8] =
	[Group7*8] =
	SrcNone | ModRM | Priv, 0, 0, SrcNone | ModRM,
	SrcNone | ModRM | Priv, 0, 0, SrcNone | ModRM | Priv,
	SrcNone | ModRM | DstMem | Mov, 0,
	SrcNone | ModRM | DstMem | Mov, 0,
	SrcMem16 | ModRM | Mov, 0,
	SrcMem16 | ModRM | Mov | Priv, 0,
	[Group9*8] =
	[Group9*8] =
	0, 0, 0, 0, 0, 0, 0, 0,
	0, 0, 0, 0, 0, 0, 0, 0,
};
};