Re: Xen in Virtual Machine?

2009-02-09 Thread Julian Stecklina
Kip Macy  writes:

> On Mon, Feb 9, 2009 at 4:35 PM, Julian Stecklina  wrote:
>> Kip Macy  writes:
>>
>> I'll try VMWare. Thanks for the advice. I am still puzzled why Xen
>> presents such a problem for hardware-virtualization based VMMs. Maybe
>> the virtualization guys at our university can clear that up...
>>
>
> 32-bit Xen uses segments in an unusual way. They may not be
> implementing emulation support for this correctly.

Do you mean using additional protection rings? Yes, no one does that
except Xen. 

Regards,
-- 
Julian Stecklina

Well, take it from an old hand: the only reason it would be easier to
program in C is that you can't easily express complex problems in C,
so you don't. - Erik Naggum (in comp.lang.lisp)

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Xen in Virtual Machine?

2009-02-09 Thread Kip Macy
On Mon, Feb 9, 2009 at 4:35 PM, Julian Stecklina  wrote:
> Kip Macy  writes:
>
> I'll try VMWare. Thanks for the advice. I am still puzzled why Xen
> presents such a problem for hardware-virtualization based VMMs. Maybe
> the virtualization guys at our university can clear that up...
>

32-bit Xen uses segments in an unusual way. They may not be
implementing emulation support for this correctly.

Cheers,
Kip
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Xen in Virtual Machine?

2009-02-09 Thread Julian Stecklina
Kip Macy  writes:

> Running Xen under vmware works fine (albeit slowly, and periodically
> exposing bugs in vmware) - I've done it many times. You're likely to
> run in to problems on less mature platforms that rely on hardware
> virtualization. However, there is no fundamental reason that
> paravirtualized guests should not work there.

I'll try VMWare. Thanks for the advice. I am still puzzled why Xen
presents such a problem for hardware-virtualization based VMMs. Maybe
the virtualization guys at our university can clear that up...

Regards,
-- 
Julian Stecklina

Well, take it from an old hand: the only reason it would be easier to
program in C is that you can't easily express complex problems in C,
so you don't. - Erik Naggum (in comp.lang.lisp)

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Xen in Virtual Machine?

2009-02-09 Thread Mister Olli
Hi,

great to hear.
The machine I tested this on did not have hardware virtualization
support and I think about 1 - 1 1/2 years went down since I've tested
this scenario.

I will definitely give it a shot the moment I own a HVM capable
notebook, since I'm heavily tied to vmware from work, but love XEN in my
spare time ;-))

--
Mr. Olli


Am Montag, den 09.02.2009, 13:28 -0800 schrieb Kip Macy:
> Running Xen under vmware works fine (albeit slowly, and periodically
> exposing bugs in vmware) - I've done it many times. You're likely to
> run in to problems on less mature platforms that rely on hardware
> virtualization. However, there is no fundamental reason that
> paravirtualized guests should not work there.
> 
> Cheers,
> Kip
> 
> On Mon, Feb 9, 2009 at 1:09 PM, Mister Olli  
> wrote:
> > Hi,
> >
> > from what I can tell this is impossible since XEN needs to have access
> > to ring0 of the CPU which has the highest priviledge level. And there
> > can only be one kernel at a time.
> >
> > I know that with VMware there's a thing like VMware ESX server in VMware
> > workstation (combination could be slightly different ;-)) possible.
> >
> > I don't know that much about the XEN internas to say if it's possible to
> > modify XEN, so that something similar is possible.
> >
> > I once tried building a XEN dom0 kernel under VMware workstation 6.0 but
> > the building process itself failed with some errors on APIC.
> >
> > --
> > Mr. Olli
> >
> >
> > Am Montag, den 09.02.2009, 20:39 +0100 schrieb Julian Stecklina:
> >> Hello,
> >>
> >> I am trying to build a kvm (or VirtualBox) virtual machine to painlessly
> >> experiment with Xen on my 32-bit Linux laptop (Core Duo L2400 with
> >> hardware virtualization foo) or my 64-bit Linux desktop box (Phenom
> >> 8450). So far neither of the two manage to run Xen with either of the
> >> above mentioned VMMs. Has someone already done this or am I out of luck
> >> and have to get a real test box?
> >>
> >> Regards,
> >
> > ___
> > freebsd-xen@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> > To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
> >

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Xen in Virtual Machine?

2009-02-09 Thread Kip Macy
Running Xen under vmware works fine (albeit slowly, and periodically
exposing bugs in vmware) - I've done it many times. You're likely to
run in to problems on less mature platforms that rely on hardware
virtualization. However, there is no fundamental reason that
paravirtualized guests should not work there.

Cheers,
Kip

On Mon, Feb 9, 2009 at 1:09 PM, Mister Olli  wrote:
> Hi,
>
> from what I can tell this is impossible since XEN needs to have access
> to ring0 of the CPU which has the highest priviledge level. And there
> can only be one kernel at a time.
>
> I know that with VMware there's a thing like VMware ESX server in VMware
> workstation (combination could be slightly different ;-)) possible.
>
> I don't know that much about the XEN internas to say if it's possible to
> modify XEN, so that something similar is possible.
>
> I once tried building a XEN dom0 kernel under VMware workstation 6.0 but
> the building process itself failed with some errors on APIC.
>
> --
> Mr. Olli
>
>
> Am Montag, den 09.02.2009, 20:39 +0100 schrieb Julian Stecklina:
>> Hello,
>>
>> I am trying to build a kvm (or VirtualBox) virtual machine to painlessly
>> experiment with Xen on my 32-bit Linux laptop (Core Duo L2400 with
>> hardware virtualization foo) or my 64-bit Linux desktop box (Phenom
>> 8450). So far neither of the two manage to run Xen with either of the
>> above mentioned VMMs. Has someone already done this or am I out of luck
>> and have to get a real test box?
>>
>> Regards,
>
> ___
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
>
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Xen in Virtual Machine?

2009-02-09 Thread Mister Olli
Hi,

from what I can tell this is impossible since XEN needs to have access
to ring0 of the CPU which has the highest priviledge level. And there
can only be one kernel at a time.

I know that with VMware there's a thing like VMware ESX server in VMware
workstation (combination could be slightly different ;-)) possible.

I don't know that much about the XEN internas to say if it's possible to
modify XEN, so that something similar is possible.

I once tried building a XEN dom0 kernel under VMware workstation 6.0 but
the building process itself failed with some errors on APIC.

--
Mr. Olli


Am Montag, den 09.02.2009, 20:39 +0100 schrieb Julian Stecklina:
> Hello,
> 
> I am trying to build a kvm (or VirtualBox) virtual machine to painlessly
> experiment with Xen on my 32-bit Linux laptop (Core Duo L2400 with
> hardware virtualization foo) or my 64-bit Linux desktop box (Phenom
> 8450). So far neither of the two manage to run Xen with either of the
> above mentioned VMMs. Has someone already done this or am I out of luck
> and have to get a real test box?
> 
> Regards,

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"


Re: Xen in Virtual Machine?

2009-02-09 Thread Mark Price
Hi Julian,

So, you want to run Xen hypvervisor inside a kvm or virtualbox machine?
If so, I don't think its possible.  I tried it also with virtualbox
and was unable.
I did some research and tweaks but couldn't find an answer except that
"it wont work" - probably because Xen hypervisor depends on full hysical
CPU access.

The Xen hypervisor is pretty stable, I don't see why you couldn't get it
running on a Linux workstation.

Also note that with some computers you need to turn on Virtualization
Technology in the BIOS.

Regards,

Mark
http://www.rootbsd.net


On Mon, Feb 9, 2009 at 2:39 PM, Julian Stecklina  wrote:
> Hello,
>
> I am trying to build a kvm (or VirtualBox) virtual machine to painlessly
> experiment with Xen on my 32-bit Linux laptop (Core Duo L2400 with
> hardware virtualization foo) or my 64-bit Linux desktop box (Phenom
> 8450). So far neither of the two manage to run Xen with either of the
> above mentioned VMMs. Has someone already done this or am I out of luck
> and have to get a real test box?
>
> Regards,
> --
> Julian Stecklina
>
> Well, take it from an old hand: the only reason it would be easier to
> program in C is that you can't easily express complex problems in C,
> so you don't. - Erik Naggum (in comp.lang.lisp)
>
> ___
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
>
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"