machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 353 forks source link

Mac OS X guest #129

Open shauvik opened 7 years ago

shauvik commented 7 years ago

I would like to setup a OS X guest to perform builds for iOS apps.

Has anyone tried it? Are there any guidelines / help docs on running OS X guests on xhyve?

Given that there is no support for guest graphical user interface, I suppose this is not possible.

aphor commented 7 years ago

There used to be ways of setting up OSX Server headless, and there used to be distcc support in XCode. Maybe if you're setting up a CI server and you need to farm out multiple concurrent builds all the time it would be worthwhile looking into, otherwise maybe wait for the Hypervisor.framework to bring some graphics support.

aliok commented 6 years ago

I was looking for the same thing...

Is it possible to make use of a VM image that is prepared in advance (the graphical part done) with Xhyve?

aphor commented 6 years ago

Xhyve boots a given VM disk image. If it contains prepared stuff, that's what you get in the VM. If that stuff tries to run software which needs to paint a screen with GUI widgets stuff will not work well.

DurvalMenezes commented 4 years ago

Hello @shauvik, @aliok and specially @aphor,

I'm looking into XHyve as a way to run some tasks in isolation on my MacOSX High Sierra Mac Pro 2013. Having no graphics suport is not a problem, everything is command-line based and the VM will be accessed via SSH.

Is it possible / are there directions on how to "clone" a current MacOSX host into a VM image (ie, "P2V") so as to have it run under XHyve?

Also, is there any other way for the VM to access the host's filesystems except via network shares (NFS, etc)?

Thanks in advance, -- Durval.

aphor commented 4 years ago

XHyve is defunct. Please don't use it.

If you must, then be aware nobody can help you with this. There are no P2V tools, though you could probably make this work the hard way using disktool and diskutil.

On Mon, Dec 9, 2019 at 8:22 AM Durval Menezes notifications@github.com wrote:

Hello @aliok https://github.com/aliok and specially @aphor https://github.com/aphor,

I'm looking into XHyve as a way to run some tasks in isolation on my MacOSX High Sierra Mac Pro 2013. Having no graphics suport is not a problem, everything is command-line based and the VM will be accessed via SSH.

Is it possible / are there directions on how to "clone" a current MacOSX host into a VM image (ie, "P2V") so as to have it run under XHyve?

Also, is there any other way for the VM to access the host's filesystems except via network shares (NFS, etc)?

Thanks in advance, -- Durval.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/machyve/xhyve/issues/129?email_source=notifications&email_token=AABYVOY63BNUMHA344OBULDQXZIB5A5CNFSM4C32QMF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGJKYQA#issuecomment-563260480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABYVO6RW3F7PKOM2UL3RMTQXZIB5ANCNFSM4C32QMFQ .

DurvalMenezes commented 4 years ago

Thanks for the candid response, @aphor. I thought XHyve was active as I see comits from about 2 months ago... too bad it is not, could be useful for many things.

aphor commented 4 years ago

I think you can use qemu with the mac native virtualization framework. I'd steer you that way.

I misstated the machyve/xhyve project, which is a fork of the original xhyve project, that languished as abandonware by its ghost author for years.

I agree it can be good, but if you need help doing P2V, you're more likely to find something that works (tools or documentation) with qemu or a commercial product. I'd think fluency with some low level tools on MacOS would be a prerequisite for doing P2V using xhyve.

On Mon, Dec 9, 2019 at 2:08 PM Durval Menezes notifications@github.com wrote:

Thanks for the candid response, @aphor https://github.com/aphor. I thought XHyve was active as I see comits from about 2 months ago... too bad it is not, could be useful for many things.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/machyve/xhyve/issues/129?email_source=notifications&email_token=AABYVOYPK7PLD5MCBT5EJ4TQX2QSFA5CNFSM4C32QMF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGKQDYY#issuecomment-563413475, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABYVO33DCTWHVQBKJVGFW3QX2QSFANCNFSM4C32QMFQ .

angristan commented 3 years ago

@DurvalMenezes what did you end up using?