All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Min Du <min.du.email@gmail.com>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Question about using "qemu-kvm" to create vm including "-mem-path"
Date: Wed, 10 Sep 2014 10:04:17 +0200	[thread overview]
Message-ID: <54100601.4030009@redhat.com> (raw)
In-Reply-To: <38CC6489-C5F5-4210-9ACC-BD552D50B988@gmail.com>

Il 10/09/2014 01:54, Min Du ha scritto:
> However if I add "root=/dev/vda1" in the command to create vm, which
> looks like "-append root=/dev/vda1 console=ttyS0" in command line, then
> "-mem-path /hugetlbfs" doesn't work:
> [root@mind domain]# tail /proc/meminfo 
> VmallocChunk:   34359481380 kB
> HardwareCorrupted:     0 kB
> AnonHugePages:   1390592 kB
> HugePages_Total:     512
> HugePages_Free:      512
> HugePages_Rsvd:        0
> HugePages_Surp:        0
> Hugepagesize:       2048 kB
> DirectMap4k:        6144 kB
> DirectMap2M:    12552192 kB
> 
> Does anyone know how does "root=/dev/vda1" conflict with hugepages
> and how do I use both of them to create a VM? I am actually using an xml
> file to create VM, and those commands I mentioned above are shown in "ps
> aux | grep qemu".

There should be no conflict.  Try reproducing with a more recent version
of QEMU.

Paolo

      reply	other threads:[~2014-09-10  8:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-09 23:54 Question about using "qemu-kvm" to create vm including "-mem-path" Min Du
2014-09-10  8:04 ` Paolo Bonzini [this message]

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=54100601.4030009@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=min.du.email@gmail.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.