From: "Anatol Belski" <anbelski@linux.microsoft.com>
To: openembedded-core@lists.openembedded.org
Cc: Sinan Kaya <okaya@kernel.org>,
Richard Purdie <richard.purdie@linuxfoundation.org>,
Paul Barker <pbarker@konsulko.com>
Subject: Re: [OE-core] [meta-oe][PATCH v2 1/3] runqemu: Add support for VHD/VHDX rootfs
Date: Sun, 17 Jan 2021 15:30:18 +0100 [thread overview]
Message-ID: <59bf265e9724eee2308436da081d6ecaf6396fd6.camel@linux.microsoft.com> (raw)
In-Reply-To: <165B0B23C63810C7.10240@lists.openembedded.org>
Hi,
please note the bitbake part sent separately to bitbake-devel@
https://lists.openembedded.org/g/bitbake-devel/message/11907
Thanks
Anatol
On Sun, 2021-01-17 at 15:25 +0100, Anatol Belski wrote:
> From: Sinan Kaya <okaya@kernel.org>
>
> Signed-off-by: Sinan Kaya <okaya@kernel.org>
> Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
> ---
> scripts/runqemu | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/scripts/runqemu b/scripts/runqemu
> index e5e66f3453..dd92a64553 100755
> --- a/scripts/runqemu
> +++ b/scripts/runqemu
> @@ -94,11 +94,13 @@ Examples:
> runqemu qemux86-64 core-image-sato ext4
> runqemu qemux86-64 wic-image-minimal wic
> runqemu path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
> - runqemu qemux86
> iso/hddimg/wic.vmdk/wic.qcow2/wic.vdi/ramfs/cpio.gz...
> + runqemu qemux86
> iso/hddimg/wic.vmdk/wic.vhd/wic.vhdx/wic.qcow2/wic.vdi/ramfs/cpio.gz.
> ..
> runqemu qemux86 qemuparams="-m 256"
> runqemu qemux86 bootparams="psplash=false"
> runqemu path/to/<image>-<machine>.wic
> runqemu path/to/<image>-<machine>.wic.vmdk
> + runqemu path/to/<image>-<machine>.wic.vhdx
> + runqemu path/to/<image>-<machine>.wic.vhd
> """)
>
> def check_tun():
> @@ -179,7 +181,7 @@ class BaseConfig(object):
> self.portlocks = {}
> self.bitbake_e = ''
> self.snapshot = False
> - self.wictypes = ('wic', 'wic.vmdk', 'wic.qcow2', 'wic.vdi')
> + self.wictypes = ('wic', 'wic.vmdk', 'wic.qcow2', 'wic.vdi',
> "wic.vhd", "wic.vhdx")
> self.fstypes = ('ext2', 'ext3', 'ext4', 'jffs2', 'nfs',
> 'btrfs',
> 'cpio.gz', 'cpio', 'ramfs', 'tar.bz2',
> 'tar.gz')
> self.vmtypes = ('hddimg', 'iso')
> @@ -1203,7 +1205,7 @@ class BaseConfig(object):
> return
> if 'wic.' in self.fstype:
> self.fstype = self.fstype[4:]
> - rootfs_format = self.fstype if self.fstype in ('vmdk',
> 'qcow2', 'vdi') else 'raw'
> + rootfs_format = self.fstype if self.fstype in ('vmdk',
> 'vhd', 'vhdx', 'qcow2', 'vdi') else 'raw'
>
> qb_rootfs_opt = self.get('QB_ROOTFS_OPT')
> if qb_rootfs_opt:
>
>
>
parent reply other threads:[~2021-01-17 14:30 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <165B0B23C63810C7.10240@lists.openembedded.org>]
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=59bf265e9724eee2308436da081d6ecaf6396fd6.camel@linux.microsoft.com \
--to=anbelski@linux.microsoft.com \
--cc=okaya@kernel.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=pbarker@konsulko.com \
--cc=richard.purdie@linuxfoundation.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.