public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* hugetlbfs
@ 2008-04-09  9:26 Yunfeng Zhao
  2008-04-09 11:46 ` hugetlbfs Dor Laor
  0 siblings, 1 reply; 3+ messages in thread
From: Yunfeng Zhao @ 2008-04-09  9:26 UTC (permalink / raw)
  To: kvm-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-10  8:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-09  9:26 hugetlbfs Yunfeng Zhao
2008-04-09 11:46 ` hugetlbfs Dor Laor
2008-04-10  8:17   ` hugetlbfs Yunfeng Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox