All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: Xiaoyao Li <xiaoyao.li@intel.com>
Cc: "BALATON Zoltan" <balaton@eik.bme.hu>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	chenyi.qiang@intel.com, "Farrah Chen" <farrah.chen@intel.com>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH] memory: Set mr->ram before RAM Block allocation
Date: Fri, 13 Mar 2026 10:19:23 -0400	[thread overview]
Message-ID: <abQc65156qHySK1i@x1.local> (raw)
In-Reply-To: <7edbc92d-095c-4cfd-b5d3-102eee092b13@intel.com>

On Fri, Mar 13, 2026 at 11:36:45AM +0800, Xiaoyao Li wrote:
> However, the ram device is affected that is also uses
> memory_region_init_io() which will not be covered by the helper.
> 
> Diff attached below. I doubt it is better/simpler than my original fix
> because memory_region_init_ram_device_ptr() still requires the separate
> 
> 	mr->ram = true;

OK, thanks for the fixup proposal, let me queue the original version for
now.

-- 
Peter Xu



  reply	other threads:[~2026-03-13 14:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12  6:34 [PATCH] memory: Set mr->ram before RAM Block allocation Xiaoyao Li
2026-03-12 15:46 ` Peter Xu
2026-03-12 18:04   ` BALATON Zoltan
2026-03-12 18:40     ` Peter Xu
2026-03-12 18:50       ` BALATON Zoltan
2026-03-13  3:36         ` Xiaoyao Li
2026-03-13 14:19           ` Peter Xu [this message]
2026-03-12 18:42     ` BALATON Zoltan
2026-03-17 23:38 ` Kim Phillips

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=abQc65156qHySK1i@x1.local \
    --to=peterx@redhat.com \
    --cc=balaton@eik.bme.hu \
    --cc=chenyi.qiang@intel.com \
    --cc=farrah.chen@intel.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=xiaoyao.li@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.