All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/4] board/qemu/aarch64-virt/linux.config: enable memory hotplug
Date: Mon, 13 Jul 2020 23:24:17 +0200	[thread overview]
Message-ID: <c9303224-0b26-14dc-ca93-a4f899b3c588@gmail.com> (raw)
In-Reply-To: <20200712212704.43b4671a@windsurf.home>

Hi Thomas,

Le 12/07/2020 ? 21:27, Thomas Petazzoni a ?crit?:
> On Sun, 12 Jul 2020 18:34:22 +0200
> Romain Naour <romain.naour@gmail.com> wrote:
> 
>> To test memory hotplug [1], add -m 1G,slots=3,maxmem=4G to the qemu command
>> line, boot the system and enter the following command in the Qemu monitor
>> to add another 1GB to the guest:
>> (use ctrl+a c to switch from the serial port and Qemu monitor):
>>
>>    (qemu) object_add memory-backend-ram,id=mem1,size=1G
>>    (qemu) device_add pc-dimm,id=dimm1,memdev=mem1
>>
>> [1] https://git.qemu.org/?p=qemu.git;a=blob;f=docs/memory-hotplug.txt;h=6aa5e17e26090f619787de7b71888093fb9d0117;hb=fdd76fecdde1ad444ff4deb7f1c4f7e4a1ef97d6#l9
>>
>> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> 
> Is this really something we want to enable in a defconfig ? It feels
> like a very advanced/specific feature, not really relevant for a
> demo/test defconfig IMO.

We just the required kernel options need for memory hot-plug, the Qemu command
line in the readme.txt is keep as is.

Best regards,
Romain

> 
> Thomas
> 

  reply	other threads:[~2020-07-13 21:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-12 16:34 [Buildroot] [PATCH 1/4] package/edk2-aarch64-bin: new package Romain Naour
2020-07-12 16:34 ` [Buildroot] [PATCH 2/4] board/qemu/aarch64-virt/linux.config: enable ACPI Romain Naour
2020-07-12 16:34 ` [Buildroot] [PATCH 3/4] configs/qemu_aarch64_virt_defconfig: boot with grub bootloader with efi Romain Naour
2020-07-12 19:28   ` Thomas Petazzoni
2020-07-13 21:21     ` Romain Naour
2020-07-12 16:34 ` [Buildroot] [PATCH 4/4] board/qemu/aarch64-virt/linux.config: enable memory hotplug Romain Naour
2020-07-12 19:27   ` Thomas Petazzoni
2020-07-13 21:24     ` Romain Naour [this message]
2021-05-17 16:23 ` [Buildroot] [PATCH 1/4] package/edk2-aarch64-bin: new package Yann E. MORIN

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=c9303224-0b26-14dc-ca93-a4f899b3c588@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.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 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.