qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Marcel Apfelbaum <marcel.a@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Question] memory: AddressSpace backed by single IO MemoryRegion
Date: Mon, 16 Sep 2013 19:18:18 +0200	[thread overview]
Message-ID: <52373D5A.2050004@redhat.com> (raw)
In-Reply-To: <1379351503.17705.77.camel@localhost.localdomain>

Il 16/09/2013 19:11, Marcel Apfelbaum ha scritto:
>> >     memory_region_init_io(my_reg, owner, my_ops, my_obj, "my region", INT64_MAX);

This is 2^63-1, not 2^64-1.  You need UINT64_MAX here.

Paolo

>> >     memory_region_set_enabled(my_reg, false);
>> >     address_space_init(my_as, my_reg, name);
>> >     memory_region_set_enabled(my_reg, true);

  reply	other threads:[~2013-09-16 17:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16 14:48 [Qemu-devel] [Question] memory: AddressSpace backed by single IO MemoryRegion Marcel Apfelbaum
2013-09-16 14:52 ` Paolo Bonzini
2013-09-16 15:27   ` Marcel Apfelbaum
2013-09-16 17:11   ` Marcel Apfelbaum
2013-09-16 17:18     ` Paolo Bonzini [this message]
2013-09-16 17:26       ` Marcel Apfelbaum
2013-09-17  8:29       ` Peter Maydell
2013-09-18 15:43         ` Paolo Bonzini

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=52373D5A.2050004@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=marcel.a@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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).