On 04/27/2010 03:15 PM, Gleb Natapov wrote:
This initialization is no longer needed.

Signed-off-by: Gleb Natapov<g...@redhat.com>
---
  arch/x86/kvm/x86.c |    2 --
  1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index ed15b20..29e2d3b 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3801,8 +3801,6 @@ int emulate_instruction(struct kvm_vcpu *vcpu,
         */
        cache_all_regs(vcpu);

-       vcpu->mmio_is_write = 0;
-
        if (!(emulation_type&  EMULTYPE_NO_DECODE)) {
                int cs_db, cs_l;
                kvm_x86_ops->get_cs_db_l_bits(vcpu,&cs_db,&cs_l);

Best to fold into the patch that made it unnecessary.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to