From: Paolo Bonzini <pbonzini@redhat.com>
To: "Hulin, Patrick - 0559 - MITLL" <Patrick.Hulin@ll.mit.edu>,
Richard Henderson <rth@twiddle.net>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] QEMU, self-modifying code, and Windows 7 64-bit (no KVM)
Date: Tue, 19 Aug 2014 08:16:39 +0200 [thread overview]
Message-ID: <53F2EBC7.3010105@redhat.com> (raw)
In-Reply-To: <D017DEE0.758%Patrick.Hulin@ll.mit.edu>
Il 18/08/2014 22:50, Hulin, Patrick - 0559 - MITLL ha scritto:
>> >Correct. Doesn¹t work. Haven¹t fully diagnosed why, but it doesn¹t seem
>> >to ever hit the current_tb_modified passage if you invalidate beforehand.
> Yeah - mem_io_pc doesn¹t get updated until we¹re inside io_write, so
> tb_invalidate_phys_page_range thinks we¹re inside a different TB. As a
> result, it¹s ³is this TB modified² check still returns false.
We can set that (and probably mem_io_vaddr) before the for loop, too.
Paolo
next prev parent reply other threads:[~2014-08-19 6:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAG5rQryFDdrYZKPWYm8k_5EPGOP9RgvUqamSkjWiO3UikieeAw@mail.gmail.com>
2014-08-13 18:36 ` [Qemu-devel] QEMU, self-modifying code, and Windows 7 64-bit (no KVM) Hulin, Patrick - 0559 - MITLL
2014-08-14 13:53 ` Hulin, Patrick - 0559 - MITLL
2014-08-15 20:48 ` Paolo Bonzini
2014-08-15 21:49 ` Hulin, Patrick - 0559 - MITLL
2014-08-17 5:21 ` Paolo Bonzini
2014-08-18 17:37 ` Richard Henderson
2014-08-18 17:47 ` Hulin, Patrick - 0559 - MITLL
2014-08-18 20:50 ` Hulin, Patrick - 0559 - MITLL
2014-08-19 6:16 ` Paolo Bonzini [this message]
2014-08-20 14:03 ` Hulin, Patrick - 0559 - MITLL
2014-08-20 15:12 ` Richard Henderson
2014-08-18 21:12 ` Paolo Bonzini
2014-08-18 17:47 ` Hulin, Patrick - 0559 - MITLL
2014-08-18 18:08 ` Hulin, Patrick - 0559 - MITLL
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53F2EBC7.3010105@redhat.com \
--to=pbonzini@redhat.com \
--cc=Patrick.Hulin@ll.mit.edu \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).