From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmTvd-0001lj-0Y for qemu-devel@nongnu.org; Sat, 12 Sep 2009 10:50:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmTvY-0001j9-C8 for qemu-devel@nongnu.org; Sat, 12 Sep 2009 10:50:16 -0400 Received: from [199.232.76.173] (port=42873 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmTvY-0001j4-5w for qemu-devel@nongnu.org; Sat, 12 Sep 2009 10:50:12 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:55529) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MmTvX-000617-8m for qemu-devel@nongnu.org; Sat, 12 Sep 2009 10:50:11 -0400 Message-ID: <4AABB51F.20106@web.de> Date: Sat, 12 Sep 2009 16:50:07 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8FD04139AB787B1F7216098B" Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH] i386: Drop redundant kvm_enabled test List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel , Gleb Natapov This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8FD04139AB787B1F7216098B Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable cpu_synchronize_state already does this. Signed-off-by: Jan Kiszka --- target-i386/helper.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index 45b04ee..8111f25 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -743,8 +743,7 @@ void cpu_dump_state(CPUState *env, FILE *f, char cc_op_name[32]; static const char *seg_name[6] =3D { "ES", "CS", "SS", "DS", "FS", "= GS" }; =20 - if (kvm_enabled()) - cpu_synchronize_state(env); + cpu_synchronize_state(env); =20 eflags =3D env->eflags; #ifdef TARGET_X86_64 --------------enig8FD04139AB787B1F7216098B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkqrtR8ACgkQniDOoMHTA+mAoQCfbBVf1X0Uxf+rpss7vsPrcDnb GfcAnjc6S7IQcSleix1OvlkyeIpAtEGG =IRlc -----END PGP SIGNATURE----- --------------enig8FD04139AB787B1F7216098B--