Message ID | 1516112253-14480-33-git-send-email-pbonzini@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hbiRLq/F"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zLYGk50Vhz9sBd for <incoming@patchwork.ozlabs.org>; Wed, 17 Jan 2018 01:57:18 +1100 (AEDT) Received: from localhost ([::1]:39460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1ebSfs-000175-HU for incoming@patchwork.ozlabs.org; Tue, 16 Jan 2018 09:57:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1ebS4O-0003Oq-56 for qemu-devel@nongnu.org; Tue, 16 Jan 2018 09:18:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1ebS4E-0004z0-SH for qemu-devel@nongnu.org; Tue, 16 Jan 2018 09:18:32 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:46248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1ebS4E-0004xe-MG for qemu-devel@nongnu.org; Tue, 16 Jan 2018 09:18:22 -0500 Received: by mail-wm0-x242.google.com with SMTP id 143so8640208wma.5 for <qemu-devel@nongnu.org>; Tue, 16 Jan 2018 06:18:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=13d/MZ8SeICCPDu/nrYW0AmsWfWBQL7gRaJrUKchWSM=; b=hbiRLq/FbOk9OFO/BDjG/gGItVNABLa2+wlhpLTatkXMeqLU3rPKr2U/oF1/q0PSbi ISMhfvZwoPDb1qv8rFsmRkDFJCwbkA/HkoWlM1jCJASg5Ug7nDViBLZRfclcRrltyZUh lhCj04zAMTruZvOd3P6Fqs3cEHUzmV6B62jf+unrL3Eqhy5Q0s5jxqc/mNH3YRfdt7e7 Syhs6Bw4yYOUoHlHyrQGEAUqYy+YTiRPGD3RoyNsVhyQ3I30G7JkmFh2EgSY7TxtSgxN 1FBCRSpFf3DnHiC8e/nUHSKwejFYVZ80JKFZfoEJIgVDbcZD4387IwuqYu8ir9th39vx TVeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=13d/MZ8SeICCPDu/nrYW0AmsWfWBQL7gRaJrUKchWSM=; b=CT3pPOHe+O/rDb6WIt00En9OT4b5UxoehM51sqWIhl5dEUMTNqnYOKuXNRy2D9NXS2 gIA4XuPEf3V3qdUqaA1lJ6Glm2XvRKjpuJ/cF+kPnomLCiNulxg4ARzr9RNy4KvD4m/X t8AScxlOUrZaoRsYAP9LBY/jIiPvZKOsRQvDVMZvooLXOd6PgaHIarAJnrmLOmVfdNsY zpRztPFOsFLlIkEnnP0u6Zw//PveznrWr3ny2rQnzzqkS8T5hgXjm50X50rkyVsD9FPE UtUE/nWxxaMOnSKKLMDN+or11KRLwjot6/Kyyi7YuCKRgDwRAbOM6ixyYoUk9tuLHXdY 4EQQ== X-Gm-Message-State: AKwxytf+u7U+MtAap3AU0Eu0Z1u0LY5dGc720UJoz0h5ntRJzC0I7rm8 R4CHnCDlFBWBaN7Fr86RpUqVi6Z8 X-Google-Smtp-Source: ACJfBouuYwfsjV6fBA7ZqGdmXwUZybutEN0y7kSP0RllWZTCQ3esxrDulmW9u/DdnKfzWx/cnFSDCQ== X-Received: by 10.28.9.77 with SMTP id 74mr12954835wmj.107.1516112301404; Tue, 16 Jan 2018 06:18:21 -0800 (PST) Received: from 640k.lan (dynamic-adsl-78-12-229-84.clienti.tiscali.it. [78.12.229.84]) by smtp.gmail.com with ESMTPSA id u10sm1537758wrg.6.2018.01.16.06.18.20 for <qemu-devel@nongnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 06:18:20 -0800 (PST) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Tue, 16 Jan 2018 15:17:14 +0100 Message-Id: <1516112253-14480-33-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1516112253-14480-1-git-send-email-pbonzini@redhat.com> References: <1516112253-14480-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PULL 32/51] target-i386: update hflags on Hypervisor.framework X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/51] scsi-generic: Add share-rw option
|
expand
|
diff --git a/target/i386/hvf/x86hvf.c b/target/i386/hvf/x86hvf.c index 71c0515..7803e09 100644 --- a/target/i386/hvf/x86hvf.c +++ b/target/i386/hvf/x86hvf.c @@ -297,7 +297,6 @@ int hvf_get_registers(CPUState *cpu_state) X86CPU *x86cpu = X86_CPU(cpu_state); CPUX86State *env = &x86cpu->env; - env->regs[R_EAX] = rreg(cpu_state->hvf_fd, HV_X86_RAX); env->regs[R_EBX] = rreg(cpu_state->hvf_fd, HV_X86_RBX); env->regs[R_ECX] = rreg(cpu_state->hvf_fd, HV_X86_RCX); @@ -333,6 +332,7 @@ int hvf_get_registers(CPUState *cpu_state) env->dr[6] = rreg(cpu_state->hvf_fd, HV_X86_DR6); env->dr[7] = rreg(cpu_state->hvf_fd, HV_X86_DR7); + x86_update_hflags(env); return 0; }
This ensures that x86_cpu_dump_state shows registers with the correct size. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- target/i386/hvf/x86hvf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)