mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-05 13:11:44 +00:00
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:
committed by
Will Deacon
parent
d94966fe14
commit
22c180cb45
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user