kvm tools, vesa: Fix 'ah' access in int10_vesa()

This patch fixes access to 'ah' in int10_vesa() by masking the high bits.

Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: John Floren <john@jfloren.net>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Pekka Enberg
2015-06-01 16:39:44 +01:00
committed by Will Deacon
parent d94966fe14
commit 22c180cb45
+1 -1
View File
@@ -131,7 +131,7 @@ static void int10_vesa(struct int10_args *args)
{
u8 al;
al = args->eax;
al = args->eax & 0xff;
switch (al) {
case 0x00: