public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Yunfeng Zhao <yunfeng.zhao@intel.com>
To: kvm-devel@lists.sourceforge.net
Subject: hugetlbfs
Date: Wed, 09 Apr 2008 17:26:57 +0800	[thread overview]
Message-ID: <47FC8BE1.9000400@intel.com> (raw)

Hi,
I meet problem to get hugetlbfs work on my test box.
If i added "--mem-path" to qemu, the guest will always fail to boot with 
the error messages below printed on qemu console:
###########################################
ata0 master: ATA-0 Hard-Disk (  0 MBytes)
ata1 master: ATAPI-0 Device

Booting from Hard Disk .....
Booting from Hard Disk failed: could not read the boot disk
##########################################

And I checked my system, hugepages has been enabled.
[root@vt-dp8 ~]# grep -i huge /proc/meminfo
HugePages_Total:   100
HugePages_Free:     96
HugePages_Rsvd:      0
Hugepagesize:     2048 kB

[root@vt-dp8 ~]# mount
/dev/sda1 on / type ext3 (rw)
none on /dev/shm type tmpfs (rw,size=4G)
nodev on /hugepages type hugetlbfs (rw)
/dev/sda3 on /share type ext2 (rw)
/dev/sda2 on /mnt/sda2 type ext3 (rw)

The command i am using:
qemu -m 256 -monitor pty -net 
nic,macaddr=00:16:3e:48:d4:aa,model=rtl8139 -net 
tap,script=/etc/kvm/qemu-ifup -hda /dev/sda --mem-path /hugepages/

If I remove "--mem-path", the guest can be booted up.


Anybody knows what the problem is?

thanks
Yunfeng

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

             reply	other threads:[~2008-04-09  9:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-09  9:26 Yunfeng Zhao [this message]
2008-04-09 11:46 ` hugetlbfs Dor Laor
2008-04-10  8:17   ` hugetlbfs Yunfeng Zhao

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=47FC8BE1.9000400@intel.com \
    --to=yunfeng.zhao@intel.com \
    --cc=kvm-devel@lists.sourceforge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox