KVM: x86 emulator: make read_segment_descriptor() return the address
authorAvi Kivity <avi@redhat.com>
Wed, 13 Jun 2012 13:29:39 +0000 (16:29 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 9 Jul 2012 11:19:04 +0000 (14:19 +0300)
commite919464b53ea29aed46ff10f7d6416268678bdb9
treecc9b3ec3043a6edbd6a6ae8adf2bed272ffba5fa
parenta14e579f224ba929fe2f1d9bbbff688ae67e2ec4
KVM: x86 emulator: make read_segment_descriptor() return the address

Some operations want to modify the descriptor later on, so save the
address for future use.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c