i386: hvf: Use ins_len to advance IP
commit81ae3d0216587bf868486244f038072e07ee4e9d
authorRoman Bolshakov <r.bolshakov@yadro.com>
Thu, 28 May 2020 19:37:50 +0000 (28 22:37 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2020 15:15:02 +0000 (12 11:15 -0400)
tree6587516fcdaa6e4e450d74616d3a2eb100dbd7bc
parent6345d7e2aeb6f7bbaa9c1e7e94e21fccf9453c70
i386: hvf: Use ins_len to advance IP

There's no need to read VMCS twice, instruction length is already
available in ins_len.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200528193758.51454-6-r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/i386/hvf/hvf.c