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

How can I run osv in Xen? #550

Closed
yxliang01 opened this issue Nov 16, 2014 · 8 comments
Closed

How can I run osv in Xen? #550

yxliang01 opened this issue Nov 16, 2014 · 8 comments

Comments

@yxliang01
Copy link

In the official website of osv, I can see that xen is officially supported, but I can't find the image for xen...

@dorlaor
Copy link
Contributor

dorlaor commented Nov 16, 2014

On Sun, Nov 16, 2014 at 9:06 AM, yxliang01 notifications@github.com wrote:

In the official website of osv, I can see that xen is officially
supported, but I can't find the image for xen...

If I'm not mistaken, the standard qcow2 images should work


Reply to this email directly or view it on GitHub
#550.

@yxliang01
Copy link
Author

I have converted the qcow2 to img which can be used for xen, however, there shows "can't load image"...

@slivne
Copy link
Contributor

slivne commented Nov 16, 2014

The following works for me:

qemu-img convert -f qcow2 -O raw
Create a text file with:

builder='hvm'xen_platform_pci=1acpi=1apic=1boot='c'vncdisplay=1memory=2048vcpus=2maxcpus=2name='osv-5006'disk=[',raw,hda,rw']serial='pty'paused=0on_crash='preserve'vif=['bridge=virbr0']
Run with:

xl create -c

Shlomi

On Sun, Nov 16, 2014 at 2:53 PM, yxliang01 notifications@github.com wrote:

I have converted the qcow2 to img which can be used for xen, however,
there shows "can't load image"...


Reply to this email directly or view it on GitHub
#550 (comment)
.

@yxliang01
Copy link
Author

Thank you very much!!!! It works~! @slivne

@penberg
Copy link
Contributor

penberg commented Nov 17, 2014

@yxliang01 Doesn't

make img_format=raw

produce images that boot properly? Ping @asias.

@asias
Copy link
Contributor

asias commented Nov 17, 2014

Our scripts/run.py supports run OSv on local xen. Just remember to produce the image with raw format.

$ make img_format=raw
$ sudo scripts/run.py -nv -b bridge0

On Nov 17, 2014, at 13:58, Pekka Enberg notifications@github.com wrote:

@yxliang01 https://github.com/yxliang01 Doesn't

make img_format=raw
produce images that boot properly? Ping @asias https://github.com/asias.


Reply to this email directly or view it on GitHub #550 (comment).

Asias

@wkozaczuk
Copy link
Collaborator

@yxliang01 It looks like this issue can be closed as you reported (almost 4 years ago) that you were able to run OSv on XEN.

Can this issue be closed?

@yxliang01
Copy link
Author

Right! Sorry that I forgot to close this. Thanks @wkozaczuk for reminding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants