Signed-off-by: Avi Kivity
---
hw/tcx.c | 152 ++---
1 files changed, 85 insertions(+), 67 deletions(-)
diff --git a/hw/tcx.c b/hw/tcx.c
index 309600d..cd24100 100644
--- a/hw/tcx.c
+++ b/hw/tcx.c
@@ -40,7 +40,15 @@
DisplayState *ds;
On Tue, Oct 18, 2011 at 7:40 PM, Avi Kivity wrote:
> On 10/18/2011 08:08 PM, Blue Swirl wrote:
>>
>> > What would the API look like? accept a range, return true if any of the
>> > pages in the range are dirty?
>>
>> That would be 1:1 conversion but maybe better approach would be to
>> return the
On 10/18/2011 08:08 PM, Blue Swirl wrote:
>
> > What would the API look like? accept a range, return true if any of the
> > pages in the range are dirty?
>
> That would be 1:1 conversion but maybe better approach would be to
> return the first dirty address (or zero if not found), then various
> b
On Mon, Oct 17, 2011 at 8:48 PM, Avi Kivity wrote:
> On 10/17/2011 09:13 PM, Blue Swirl wrote:
>> >
>> > - ret = cpu_physical_memory_get_dirty(page, VGA_DIRTY_FLAG);
>> > + ret = memory_region_get_dirty(&s->vram_mem, page, DIRTY_MEMORY_VGA);
>> > for (off = 0; off < TARGET_PAGE_SIZE * 4;
On 10/17/2011 09:13 PM, Blue Swirl wrote:
> >
> > -ret = cpu_physical_memory_get_dirty(page, VGA_DIRTY_FLAG);
> > +ret = memory_region_get_dirty(&s->vram_mem, page, DIRTY_MEMORY_VGA);
> > for (off = 0; off < TARGET_PAGE_SIZE * 4; off += TARGET_PAGE_SIZE) {
> > -ret |= cpu_physic
On Mon, Oct 17, 2011 at 2:02 PM, Avi Kivity wrote:
> Signed-off-by: Avi Kivity
> ---
> hw/tcx.c | 152 ++---
> 1 files changed, 85 insertions(+), 67 deletions(-)
>
> diff --git a/hw/tcx.c b/hw/tcx.c
> index 309600d..cd24100 100644
> --- a/
Signed-off-by: Avi Kivity
---
hw/tcx.c | 152 ++---
1 files changed, 85 insertions(+), 67 deletions(-)
diff --git a/hw/tcx.c b/hw/tcx.c
index 309600d..cd24100 100644
--- a/hw/tcx.c
+++ b/hw/tcx.c
@@ -40,7 +40,15 @@
DisplayState *ds;