From: Stuart Yoder <b08248@gmail.com>
To: Bhushan Bharat-R65777 <R65777@freescale.com>
Cc: Alex Williamson <alex.williamson@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] Running KVM guest on X86
Date: Thu, 9 Aug 2012 09:58:25 -0500 [thread overview]
Message-ID: <CALRxmdA2EO1TV9y3q_+o34OE+A_vH=9eyaHrtKro80JFD1dcOQ@mail.gmail.com> (raw)
In-Reply-To: <6A3DF150A5B70D4F9B66A25E3F7C888D03DF2388@039-SN2MPN1-022.039d.mgd.msft.net>
On Tue, Aug 7, 2012 at 1:30 AM, Bhushan Bharat-R65777
<R65777@freescale.com> wrote:
>
>
>> -----Original Message-----
>> From: Alex Williamson [mailto:alex.williamson@redhat.com]
>> Sent: Monday, August 06, 2012 9:27 PM
>> To: Bhushan Bharat-R65777
>> Cc: qemu-devel@nongnu.org; Avi Kivity
>> Subject: Re: Running KVM guest on X86
>>
>> On Mon, 2012-08-06 at 15:40 +0000, Bhushan Bharat-R65777 wrote:
>> > Hi Avi/All,
>> >
>> > I am facing issue to boot KVM guest on x86 (I used to work on PowerPC platform
>> and do not have enough knowledge of x86). I am working on making VFIO working on
>> PowerPC Booke, So I have cloned Alex Williamsons git repository, compiled kernel
>> for x86 on fedora with virtualization configuration (selected all kernel config
>> options for same). Run below command to boot Guest (I have not provided vfio
>> device yet):
>> >
>> > "qemu-system-x86_64 -enable-kvm -m 1024 -nographic -kernel
>> arch/x86_64/boot/bzImage -initrd /boot/initramfs-3.5.0-rc4+.img -serial
>> tcp::4444,server,telnet"
>> >
>> > After the I can see qemu command line (able to run various commands like "info
>> registers" etc), while guest does not boot (not even the first print comes).
>> >
>> > Can anyone help in what I am missing or doing wrong?
>>
>> x86 doesn't use the serial port for console by default, so you're making things
>> quite a bit more difficult that way. Typically you'll want to provide a disk
>> image (the -hda option is the easiest way to do this), a display (-vga std -vnc
>> :0 is again easiest), and probably something to install from (-cdrom
>> <image.iso>). You can also add a -boot d to get it to choose the cdrom the
>> first time for install. Thanks,
>
> Thanks Avi and Alex, I can see the KVM guest boot prints by adding -append "console=ttyS0"
Note, once you get to user space you will need a getty specified in
inittab in order to get a login on your serial port. Something like:
T0:23:respawn:/sbin/getty -L ttyS0
Stuart
next prev parent reply other threads:[~2012-08-09 14:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-06 15:40 [Qemu-devel] Running KVM guest on X86 Bhushan Bharat-R65777
2012-08-06 15:56 ` Avi Kivity
2012-08-06 15:56 ` Alex Williamson
2012-08-07 6:30 ` Bhushan Bharat-R65777
2012-08-07 7:31 ` Gleb Natapov
2012-08-09 14:58 ` Stuart Yoder [this message]
2012-08-09 17:39 ` Bhushan Bharat-R65777
2012-08-09 17:54 ` Alex Williamson
2012-08-09 18:06 ` Bhushan Bharat-R65777
2012-08-09 19:08 ` Alex Williamson
2012-08-12 9:11 ` Avi Kivity
2012-08-10 7:24 ` Gleb Natapov
2012-08-10 8:19 ` Bhushan Bharat-R65777
2012-08-10 10:53 ` Gleb Natapov
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='CALRxmdA2EO1TV9y3q_+o34OE+A_vH=9eyaHrtKro80JFD1dcOQ@mail.gmail.com' \
--to=b08248@gmail.com \
--cc=R65777@freescale.com \
--cc=alex.williamson@redhat.com \
--cc=avi@redhat.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).