Message ID | 1515756676-3860-35-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="FNY0H6bM"; 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 3zJ1qK0DNXz9sNw for <incoming@patchwork.ozlabs.org>; Fri, 12 Jan 2018 23:13:15 +1100 (AEDT) Received: from localhost ([::1]:36331 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 1eZyCt-0002uf-O7 for incoming@patchwork.ozlabs.org; Fri, 12 Jan 2018 07:13:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1eZxZ3-0007iK-CM for qemu-devel@nongnu.org; Fri, 12 Jan 2018 06:32:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1eZxZ2-0005kv-FE for qemu-devel@nongnu.org; Fri, 12 Jan 2018 06:32:01 -0500 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:36144) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1eZxZ2-0005kH-8I for qemu-devel@nongnu.org; Fri, 12 Jan 2018 06:32:00 -0500 Received: by mail-wr0-x241.google.com with SMTP id d9so5042457wre.3 for <qemu-devel@nongnu.org>; Fri, 12 Jan 2018 03:32:00 -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=FNY0H6bMSjYmZOtWj9MTk3lN7ZC1MR79P4Ls1eLugjqyNTR3wEsEl+86ZTf+RwDn6h OvJHo4T1GxsGhvG+HmdWts7KmRfdcM40/E0vdhkCUwgArX2BE+9ARvERtIfKxDYzBEKd e/hI2yjiXghMGnVNxB6oTTNzIz//n9Oq1jhL/QbrwUC+X4a9V3uvsoFadd0kkgoa/WBv Nbu/kMjWcwTOerTw3TiE13WC49fVjRXLzEZ/N95WVmlTx9UgbBQwpVUeobGwECHeqW/B k+Fe2BIwy+r3S9BWC9I5TT9Skd5/VtDRPIb8gFT5IjQ3H5ncp0EU8mRfYPNwXELBy2k5 Cl4A== 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=HH6b9CrN9qcf76WrO8hhIDxCU9Lizh4Kf67j6DENjpEWSzzXPyHa1ZS0uH9JlQ/dAt txXnUmAwUfpENIkFWVk4CdHx/ym7WIXpYXx+TkqwmvGacqu4WlRb2670pmFv7e0pMOnj AEvwTtkI7hbsI4Lh+09ZvCEbLjNo49HeauVZNWhIvphs7SjLQFux6rSBItTzdyDSqZNM t3+b73OPJNsNnregGOrBzNnsaMgVmLlMie253pven+8KbQiFd+d+s7qLM29UiWJwClWD CPps5a87hA55ccep4U1Vw+3MPqG8TJfAYXmiaZToOUirPX3fueiogtT4igPGqtAZ0WfQ ES3w== X-Gm-Message-State: AKwxytf8FBqa7mGNODIyOEMxCt/bbmObn3ix9Pafuuf6TXISusJcBkiN Wch4QS1LResp77AH0ZRVxRXJOOXm X-Google-Smtp-Source: ACJfBouk05e7p9TOVqsOidkSYtp2yXaY5DajxxR4bhsZa9sFyMUbkbfsAA+WjCRqbXiWhjKRrlOvfA== X-Received: by 10.223.188.77 with SMTP id a13mr2642376wrh.161.1515756718961; Fri, 12 Jan 2018 03:31:58 -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 l8sm2732271wmg.46.2018.01.12.03.31.57 for <qemu-devel@nongnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jan 2018 03:31:58 -0800 (PST) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Fri, 12 Jan 2018 12:30:58 +0100 Message-Id: <1515756676-3860-35-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1515756676-3860-1-git-send-email-pbonzini@redhat.com> References: <1515756676-3860-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:c0c::241 Subject: [Qemu-devel] [PULL 34/52] 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/52] 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(-)