public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "SourceForge.net" <noreply@sourceforge.net>
To: noreply@sourceforge.net
Subject: [ kvm-Bugs-1941302 ] Cannot boot guests with hugetlbfs
Date: Tue, 25 Aug 2009 02:20:29 +0000	[thread overview]
Message-ID: <E1Mfle9-0003eV-F3@49zxpd1.ch3.sourceforge.com> (raw)

Bugs item #1941302, was opened at 2008-04-13 11:21
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1941302&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: yunfeng (yunfeng)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot boot guests with hugetlbfs

Initial Comment:
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:   500
HugePages_Free:    496
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.


----------------------------------------------------------------------

>Comment By: SourceForge Robot (sf-robot)
Date: 2009-08-25 02:20

Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Avi Kivity (avik)
Date: 2009-08-10 12:24

Message:
Should be fixed in kvm-88.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1941302&group_id=180599

             reply	other threads:[~2009-08-25  2:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25  2:20 SourceForge.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-08-10 12:24 [ kvm-Bugs-1941302 ] Cannot boot guests with hugetlbfs SourceForge.net
2008-04-13 11:21 SourceForge.net

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=E1Mfle9-0003eV-F3@49zxpd1.ch3.sourceforge.com \
    --to=noreply@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