All of lore.kernel.org
 help / color / mirror / Atom feed
* Need Support: XEN is not installing and not booting in yocto!!
@ 2024-03-19  9:32 Kamal GMBH
       [not found] ` <CACMJ4GbBieBMV4PsPA-4PhnwG1MYq-FUO_TTf3=ui=i3E_ZqWg@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Kamal GMBH @ 2024-03-19  9:32 UTC (permalink / raw)
  To: meta-virtualization


[-- Attachment #1.1: Type: text/plain, Size: 1391 bytes --]

Hello,

i have added below lines in local.conf :

*DISTRO_FEATURES:append = " virtualization"IMAGE_INSTALL: append = " xen
xen-tools"*

build command:
===============
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-networking
bitbake-layers add-layer ../meta-openembedded/meta-filesystems
bitbake-layers add-layer ../meta-virtualization
*bitbake core-image-sato*

error:

*when i will run xl list command in yocto target*
*xl list:*
xc: error: Could not obtain handle on privileged command interface (2 = No
such file or directory): Internal error
libxl: error: libxl.c:109:libxl_ctx_alloc: cannot open libxc handle: No
such file or directory
cannot init xl context

here dom0 is not showing
*error:screenshot:*
[image: image.png]

i am following  as below to enable and boot xen in yocto
[image: image.png]

https://git.yoctoproject.org/meta-virtualization/tree/README?h=kirkstone

and i am not able to do "xl create ubuntu.hvm"

*expected*:

when i will do "xl list" here dom0 should show
when i will do "xl info" here information should show.
what i am missing? can you please support to resolve this issue

*can you please provide steps to install and boot xen in yocto.*


Can you please support on this!

Ref:
https://lore.kernel.org/all/CA+chaQeL1w7MOteT_7qdd0sO-BynfQugciuiQNsNze82qaAnfQ@mail.gmail.com/T/

Regards,
Kamal

[-- Attachment #1.2: Type: text/html, Size: 3483 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 1049943 bytes --]

[-- Attachment #3: image.png --]
[-- Type: image/png, Size: 134386 bytes --]

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

* Re: [meta-virtualization] Need Support: XEN is not installing and not booting in yocto!!
       [not found] ` <CACMJ4GbBieBMV4PsPA-4PhnwG1MYq-FUO_TTf3=ui=i3E_ZqWg@mail.gmail.com>
@ 2024-03-26  4:07   ` Kamal GMBH
  2024-03-26 12:45     ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Kamal GMBH @ 2024-03-26  4:07 UTC (permalink / raw)
  To: Christopher Clark; +Cc: meta-virtualization


[-- Attachment #1.1: Type: text/plain, Size: 426 bytes --]

>
> Hello Chris,
>>
>
I used *DISTRO_FEATURES:append = " virtualization xen systemd"  in my
local.conf file *

[image: image.png]


[image: image.png]

*when i use xen-image-minimal image i am not getting UI...only black screen
is coming .*
[image: image.png]
normal linux is booting xen is not booting in above image .

*how to add multiboot  and boot xen  using grub file chnage ?*

Please support on this.

 Regards,
Kamal

[-- Attachment #1.2: Type: text/html, Size: 1249 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 106919 bytes --]

[-- Attachment #3: image.png --]
[-- Type: image/png, Size: 210076 bytes --]

[-- Attachment #4: image.png --]
[-- Type: image/png, Size: 1192477 bytes --]

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

* Re: [meta-virtualization] Need Support: XEN is not installing and not booting in yocto!!
  2024-03-26  4:07   ` [meta-virtualization] " Kamal GMBH
@ 2024-03-26 12:45     ` Bruce Ashfield
  2024-03-28 12:34       ` Kamal GMBH
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2024-03-26 12:45 UTC (permalink / raw)
  To: Kamal GMBH; +Cc: Christopher Clark, meta-virtualization


[-- Attachment #1.1: Type: text/plain, Size: 1376 bytes --]

I can't comment on your particular board, or what might be wrong with
the configuration for grub/EFI, but I can confirm that I have boot tested
Xen on master-next with both qemux86-64 and qemuarm64.

Bruce

On Tue, Mar 26, 2024 at 12:07 AM Kamal GMBH <kamalgmbh32@gmail.com> wrote:

> Hello Chris,
>>>
>>
> I used *DISTRO_FEATURES:append = " virtualization xen systemd"  in my
> local.conf file *
>
> [image: image.png]
>
>
> [image: image.png]
>
> *when i use xen-image-minimal image i am not getting UI...only black
> screen is coming .*
> [image: image.png]
> normal linux is booting xen is not booting in above image .
>
> *how to add multiboot  and boot xen  using grub file chnage ?*
>
> Please support on this.
>
>  Regards,
> Kamal
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8654):
> https://lists.yoctoproject.org/g/meta-virtualization/message/8654
> Mute This Topic: https://lists.yoctoproject.org/mt/105020854/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [
> bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II

[-- Attachment #1.2: Type: text/html, Size: 3344 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 106919 bytes --]

[-- Attachment #3: image.png --]
[-- Type: image/png, Size: 210076 bytes --]

[-- Attachment #4: image.png --]
[-- Type: image/png, Size: 1192477 bytes --]

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

* Re: [meta-virtualization] Need Support: XEN is not installing and not booting in yocto!!
  2024-03-26 12:45     ` Bruce Ashfield
@ 2024-03-28 12:34       ` Kamal GMBH
  0 siblings, 0 replies; 4+ messages in thread
From: Kamal GMBH @ 2024-03-28 12:34 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: Christopher Clark, meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]

>
>
> Kamal GMBH <kamalgmbh32@gmail.com>
> Wed, Mar 27, 11:30 PM (18 hours ago)
> to Bruce
> Hello Bruce,
>
> I am building using below command
>
> bitbake-layers add-layer ../meta-openembedded/meta-oe
> bitbake-layers add-layer ../meta-openembedded/meta-python
> bitbake-layers add-layer ../meta-openembedded/meta-networking
> bitbake-layers add-layer ../meta-dpdk
> bitbake-layers add-layer ../meta-amd/meta-amd-distro
> bitbake-layers add-layer ../meta-amd/meta-amd-bsp
> bitbake-layers add-layer ../meta-openembedded/meta-filesystems
> bitbake-layers add-layer ../meta-virtualization
> bitbake-layers add-layer ../meta-security/meta-tpm/
> bitbake core-image-sato -k
>
> I am trying to  install xen and boot xen in x86_64 hardware.
>
> how can i change grub configuration in yocto inside meta-amd folder ?
>
> how can i enable multiboot and module and change grub file?
>
> how can I change local.conf file for grub below change? can you please
> provide step.
>
> *in the target HW:*
> ==============
> root@v3000:/boot/EFI/BOOT# *vi grub.cfg (My expected grub.cfg file)*
>
> serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
> default=boot
> timeout=10
> menuentry 'boot'{
> multiboot2 /xen dom0=pvh dom0_mem=8G dom0_max_vcpus=4 dom0_vcpus_pin
> loglvl=all guest_loglvl=all
> com1=115200/3000000,8n1,0xfedc9000,4,reg-width=4,reg-shift=2
> console=com1,vga console_timestamps=boot
> module2 /bzImage ramdisk_size=32768
> root=PARTUUID=cc63eebd-9861-4ec8-a941-a0e5b80374dd rw rootwait quiet
>  console=hvc0 earlyprintk=xen console=ttyS0 panic=10 LABEL=boot debugshell=5
> module2 /initrd
> }
> root@v3000:/boot/EFI/BOOT#
>
>
> NOTE:
> i am building using bitbake  core-image-sato.
>
> Regards,
> Kamal
>
>

[-- Attachment #2: Type: text/html, Size: 9901 bytes --]

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

end of thread, other threads:[~2024-03-28 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-19  9:32 Need Support: XEN is not installing and not booting in yocto!! Kamal GMBH
     [not found] ` <CACMJ4GbBieBMV4PsPA-4PhnwG1MYq-FUO_TTf3=ui=i3E_ZqWg@mail.gmail.com>
2024-03-26  4:07   ` [meta-virtualization] " Kamal GMBH
2024-03-26 12:45     ` Bruce Ashfield
2024-03-28 12:34       ` Kamal GMBH

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.