All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Darren Hart <dvhart@linux.intel.com>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: qemu needs target kernel sets CONFIG_SCSI_VIRTIO=y to boot vmdk qcow2 and vdi
Date: Fri, 26 Feb 2016 09:01:06 +0800	[thread overview]
Message-ID: <56CFA3D2.70300@windriver.com> (raw)
In-Reply-To: <CADkTA4PM1AYzUH9d8RGOyaeMmQmr+iSXRjcEQGpqWj7TCXNcwQ@mail.gmail.com>



On 02/25/2016 08:42 PM, Bruce Ashfield wrote:
>
>
> On Thu, Feb 25, 2016 at 5:36 AM, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
>     Hi Bruce and Darren,
>
>     We need enable target kernel's CONFIG_SCSI_VIRTIO=y to make native qemu
>     can boot hdddirect, vmdk, qcow2 and vdi, otherwise, the scsi drive can't
>     work in qemu since our vm image's root default to /dev/sda2, or we can
>     change it default to /dev/hda2, then we don't have to make any changes
>     on kernel, but I prefer scsi since ide is going to be out of date.
>
>
> The IDE fragment was on for compatibility reasons, but we dropped that
> compatibility about a year ago. I was under the impression that we had
> fully dropped all the IDE fragments.
>
>
>     I've tried to enable it by menuconfig, it works well, would you please
>     enable it by default ?
>
>
>
> Send a patch to the linux-yocto mailing list to change the virtio configuration
> fragment.
>
> You are already set up to test it out, so it is much easier.
>
> I don't see why this shouldn't follow the normal patch flow for configuration
> frag changes.

Sorry, the problem was that I didn't know how to send patch for yocto kernel:-).
I will send the patch to linux-yocto.

// Robert

>
> Cheers,
>
> Bruce
>
>
>
>     $ diff .config.old .config -Nur
>     --- .config.old 2016-02-25 01:04:25.816381913 -0800
>     +++ .config     2016-02-25 01:16:31.332232759 -0800
>     @@ -1479,7 +1479,7 @@
>       # CONFIG_SCSI_DEBUG is not set
>       # CONFIG_SCSI_PMCRAID is not set
>       # CONFIG_SCSI_PM8001 is not set
>     -# CONFIG_SCSI_VIRTIO is not set
>     +CONFIG_SCSI_VIRTIO=y
>       # CONFIG_SCSI_DH is not set
>       # CONFIG_SCSI_OSD_INITIATOR is not set
>       CONFIG_ATA=y
>
>     $ du bzImage bzImage_new
>     6752    bzImage
>     6756    bzImage_new
>
>     It nearly has no impact on the size.
>
>     --
>     Thanks
>
>     Robert
>     --
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core@lists.openembedded.org
>     <mailto:Openembedded-core@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its
> end"


      parent reply	other threads:[~2016-02-26  1:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 10:36 qemu needs target kernel sets CONFIG_SCSI_VIRTIO=y to boot vmdk qcow2 and vdi Robert Yang
2016-02-25 12:10 ` Burton, Ross
2016-02-25 12:42   ` Bruce Ashfield
2016-02-26  1:27     ` Robert Yang
2016-02-25 12:42 ` Bruce Ashfield
2016-02-25 18:50   ` Bruce Ashfield
2016-02-26  1:01   ` Robert Yang [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=56CFA3D2.70300@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=dvhart@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.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 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.