Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling acrn on qemu. #3198

Closed
Mingyuan18 opened this issue May 30, 2019 · 15 comments
Closed

Enabling acrn on qemu. #3198

Mingyuan18 opened this issue May 30, 2019 · 15 comments
Labels
priority: P2-High type: bug Something isn't working
Projects

Comments

@Mingyuan18
Copy link

Enabling acrn on qemu.

@Mingyuan18 Mingyuan18 assigned ghost May 30, 2019
@Mingyuan18
Copy link
Author

[External_System_ID] ACRN-3928

@Mingyuan18 Mingyuan18 added priority: P2-High type: bug Something isn't working labels May 30, 2019
acrnsi pushed a commit that referenced this issue May 30, 2019
Since ACPI 2.0 a new field has been added to the table, X_FirmwareControl of type GAS,
which is 64bit. So use it conditionally.

Tracked-On: #3198
Signed-off-by: Tw <wei.tan@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
@fuzhongl
Copy link
Contributor

@Mingyuan18 The patch was merged into (tag: acrn-2019w22.5-140000p) CL 29790.
Could you please close this ticket?
Thanks!

@gvancuts
Copy link
Contributor

Can you also plan to add some documentation on how to run ACRN on QEMU?

@tw4452852
Copy link
Contributor

@fuzhongl There's still one patch under review. So just hold on.

@tw4452852
Copy link
Contributor

@gvancuts I will add a guild once all the code changes have been merged.

@LiangZhou9527
Copy link

just curious: is there any guide about how to run acrn on qemu?

@gvancuts
Copy link
Contributor

gvancuts commented Oct 2, 2019

Hi @LiangZhou9527 , I haven't seen one yet. FYI, we may not get any better answer since most of the engineering team is in China and on holiday this week.

@yfliuu
Copy link

yfliuu commented Jan 8, 2020

Hi @tw4452852 @gvancuts, is there any tutorial on running ACRN on QEMU/KVM? I've tried but ACRN complains about CPUID level being too small (13). Manually setting it to 22 (the value on physical machine) won't work as the hypervisor will crash.

@gvancuts
Copy link
Contributor

I haven't seen one yet. @tw4452852 @NanlinXie @fuzhongl , do you know if we have instructions on how to run ACRN on QEMU? If so, it would be good to make a tutorial out of those!

@shlomopongartz
Copy link

Any updates on how to run ACRN on QEMU/KVM?

@NanlinXie
Copy link
Contributor

NanlinXie commented Mar 12, 2020 via email

@NanlinXie NanlinXie added this to v2.0 in Roadmap Apr 8, 2020
vijaydhanraj added a commit to vijaydhanraj/acrn-hypervisor that referenced this issue May 7, 2020
This patch sets defaults similar to generic platform configuration
when leaf features like PM_INFO, S3_INFO, S5_INFO, DRHD_INFO, CPU_BRAND,
CX_INFO, PX_INFO, MMCFG_BASE_INFO are not generated via either target
offline tool or user supplies empty field in case of emulation.

Tracked-On: projectacrn#3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
vijaydhanraj added a commit to vijaydhanraj/acrn-hypervisor that referenced this issue May 7, 2020
This patch adds xml file, both board as well scenario files
that are need to run ACRN on top of QEMU as a nested hypervisor.

Currently support is only for SDC scenario.

Tracked-On: projectacrn#3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
vijaydhanraj added a commit to vijaydhanraj/acrn-hypervisor that referenced this issue May 14, 2020
Tracked-On: projectacrn#3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
vijaydhanraj added a commit to vijaydhanraj/acrn-hypervisor that referenced this issue May 19, 2020
Tracked-On: projectacrn#3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
vijaydhanraj added a commit to vijaydhanraj/acrn-hypervisor that referenced this issue May 19, 2020
Tracked-On: projectacrn#3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
wenlingz pushed a commit that referenced this issue May 21, 2020
This patch sets defaults similar to generic platform configuration
when leaf features like PM_INFO, S3_INFO, S5_INFO, DRHD_INFO, CPU_BRAND,
CX_INFO, PX_INFO, MMCFG_BASE_INFO are not generated via either target
offline tool or user supplies empty field in case of emulation.

Tracked-On: #3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
wenlingz pushed a commit that referenced this issue May 21, 2020
This patch adds xml file, both board as well scenario files
that are need to run ACRN on top of QEMU as a nested hypervisor.

Currently support is only for SDC scenario.

Tracked-On: #3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
vijaydhanraj added a commit to vijaydhanraj/acrn-hypervisor that referenced this issue May 22, 2020
Tracked-On: projectacrn#3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
vijaydhanraj added a commit to vijaydhanraj/acrn-hypervisor that referenced this issue May 26, 2020
Tracked-On: projectacrn#3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
dbkinder pushed a commit that referenced this issue May 29, 2020
Tracked-On: #3198
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
@gvancuts
Copy link
Contributor

gvancuts commented Jun 3, 2020

@shlomopongartz , you can now run ACRN on QEMU/KVM. The tutorial has been published here: https://projectacrn.github.io/latest/tutorials/acrn_on_qemu.html

Can you close this issue if this satisfies your needs?

@shlomopongartz
Copy link

Hi,
Thank you.
Why do you want me to close the issue? I didn't open it.
I just asked a question, I see that the one who open it is Mingyuan18 (see on top).
Best regards,
S.P.

@gvancuts
Copy link
Contributor

gvancuts commented Jun 4, 2020

Why do you want me to close the issue? I didn't open it.

Indeed... no action needed your part... my bad! :-)

@fuzhongl
Copy link
Contributor

Integrated into acrn v2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P2-High type: bug Something isn't working
Projects
Roadmap
  
v2.0
Development

No branches or pull requests

8 participants