* Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
@ 2008-08-25 11:21 Sylvain Petreolle
2008-08-25 14:14 ` Anthony Liguori
0 siblings, 1 reply; 8+ messages in thread
From: Sylvain Petreolle @ 2008-08-25 11:21 UTC (permalink / raw)
To: qemu-devel
----- Message d'origine ----
> De : Anthony Liguori <anthony@codemonkey.ws>
> À : Ian Kirk <blob@blob.co.uk>
> Cc : qemu-devel@nongnu.org
> Envoyé le : Lundi, 25 Août 2008, 2h23mn 59s
> Objet : Re: [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
>
> Ian Kirk wrote:
> > Anthony Liguori wrote:
> >
> >
> >> Ian Kirk wrote:
> >>
> >>> Hi,
> >>>
> >>> This is my first time sending a patch, so apologies for any errors.
> >>>
> >>> Patch makes vmport optionally initiated.
> >>>
> >>>
> >> Why should it be optional?
> >>
> >
> > I believe that VMware ESXi (and perhaps other hypervisors/emulators/etc)
> > doesn't work when it thinks it is running within virtual enviroment, as it
> > talks to vmport when booting (and fails in the current implemtnation -
> > perhaps it only works under itself?)
> >
>
> That's most likely because the vmport emulation isn't complete enough.
>
> > If I comment init_vmport() out, it definately progresses further along the
> > boot sequence.
> >
> > Also, I guess, it gives you the option to better emulate a real PC (which
> > I assume doesn't have vmport).
> >
>
> I don't think that's very valuable in and of itself. Moreover, there
> are probably a lot more issues with respect to getting ESXi to run under
> QEMU. Adding another command line option to support something that we
> don't know will ever work worries me. It's just another knob for
> someone to accidentally tweak.
>
> Regards,
>
> Anthony Liguori
Apart ESXi, there are software that behave differently if they detect a virtual environment.
Some of them completely refuse to work.
Regards,
Sylvain Petreolle
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
2008-08-25 11:21 Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time Sylvain Petreolle
@ 2008-08-25 14:14 ` Anthony Liguori
2008-08-26 18:06 ` Ian Kirk
0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2008-08-25 14:14 UTC (permalink / raw)
To: qemu-devel
Sylvain Petreolle wrote:
> ----- Message d'origine ----
>
> Apart ESXi, there are software that behave differently if they detect a virtual environment.
> Some of them completely refuse to work.
>
What software detects the VMware backdoor and refuses to work? It's
silly to argue anything but specifics. It's sufficient easy to detect
that guest software is running under QEMU as it is regardless of vmport.
Regards,
Anthony Liguori
> Regards,
>
> Sylvain Petreolle
>
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
2008-08-25 14:14 ` Anthony Liguori
@ 2008-08-26 18:06 ` Ian Kirk
2008-08-28 20:19 ` Anthony Liguori
0 siblings, 1 reply; 8+ messages in thread
From: Ian Kirk @ 2008-08-26 18:06 UTC (permalink / raw)
To: qemu-devel
Anthony Liguori wrote:
> Sylvain Petreolle wrote:
> > ----- Message d'origine ----
> > Apart ESXi, there are software that behave differently if they detect a
> > virtual environment.
> > Some of them completely refuse to work.
> >
>
> What software detects the VMware backdoor and refuses to work? It's silly to
> argue anything but specifics. It's sufficient easy to detect that guest
> software is running under QEMU as it is regardless of vmport.
So I guess that a toggle for vmport, in any method of implementation, is
not wanted then?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
2008-08-26 18:06 ` Ian Kirk
@ 2008-08-28 20:19 ` Anthony Liguori
2008-08-28 20:42 ` Ian Kirk
0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2008-08-28 20:19 UTC (permalink / raw)
To: qemu-devel
Ian Kirk wrote:
> Anthony Liguori wrote:
>
>
>> Sylvain Petreolle wrote:
>>
>>> ----- Message d'origine ----
>>> Apart ESXi, there are software that behave differently if they detect a
>>> virtual environment.
>>> Some of them completely refuse to work.
>>>
>>>
>> What software detects the VMware backdoor and refuses to work? It's silly to
>> argue anything but specifics. It's sufficient easy to detect that guest
>> software is running under QEMU as it is regardless of vmport.
>>
>
> So I guess that a toggle for vmport, in any method of implementation, is
> not wanted then?
>
Not in the absence of an actually use-case.
Options for the sake of options are never a good thing.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
2008-08-28 20:19 ` Anthony Liguori
@ 2008-08-28 20:42 ` Ian Kirk
2008-08-28 20:47 ` Anthony Liguori
0 siblings, 1 reply; 8+ messages in thread
From: Ian Kirk @ 2008-08-28 20:42 UTC (permalink / raw)
To: qemu-devel
Anthony Liguori wrote:
> Not in the absence of an actually use-case.
You mean apart from my use-case of wanting to emulate a PC to install any
of the Vmware ESX/ESXi Products (specifically PXE booting ESXi) ?
(I appreciate that this fails further the down the boot due to some other
incompleteness in IA32 PC emulation of QEMU)
How many use-cases are needed ?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
2008-08-28 20:42 ` Ian Kirk
@ 2008-08-28 20:47 ` Anthony Liguori
2008-08-28 20:52 ` Ian Kirk
0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2008-08-28 20:47 UTC (permalink / raw)
To: qemu-devel
Ian Kirk wrote:
> Anthony Liguori wrote:
>
>
>> Not in the absence of an actually use-case.
>>
>
> You mean apart from my use-case of wanting to emulate a PC to install any
> of the Vmware ESX/ESXi Products (specifically PXE booting ESXi) ?
>
> (I appreciate that this fails further the down the boot due to some other
> incompleteness in IA32 PC emulation of QEMU)
>
> How many use-cases are needed ?
>
When you actually get ESX working in QEMU, then we can revisit whether
this is really necessary or not. At this point in time, you don't know
for sure whether disabling vmport really makes things better or not.
All you know, is that it fails with a different type of error. You may
discover down the road that the only way to get ESX working under QEMU
is to add something to vmport as opposed to disabling it altogether.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
2008-08-28 20:47 ` Anthony Liguori
@ 2008-08-28 20:52 ` Ian Kirk
2008-08-28 21:41 ` Anthony Liguori
0 siblings, 1 reply; 8+ messages in thread
From: Ian Kirk @ 2008-08-28 20:52 UTC (permalink / raw)
To: qemu-devel
Anthony Liguori wrote:
> You may discover down the road that the only way to get ESX working
> under QEMU is to add something to vmport as opposed to disabling it
> altogether.
I think that's highly unlikely unless all real PC BIOSes support vmport?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time.
2008-08-28 20:52 ` Ian Kirk
@ 2008-08-28 21:41 ` Anthony Liguori
0 siblings, 0 replies; 8+ messages in thread
From: Anthony Liguori @ 2008-08-28 21:41 UTC (permalink / raw)
To: qemu-devel
Ian Kirk wrote:
> Anthony Liguori wrote:
>
>
>> You may discover down the road that the only way to get ESX working
>> under QEMU is to add something to vmport as opposed to disabling it
>> altogether.
>>
>
> I think that's highly unlikely unless all real PC BIOSes support vmport?
>
ESX explicitly supports running under workstation. It's likely using
vmport to probe the fact that it is running under workstation.
Presumably, it may be a bit less picky about what it's running on if it
thinks it's running under workstation.
So this is why I don't think this is highly unlikely.
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-08-28 21:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-25 11:21 Re : [Qemu-devel] [PATCH 1/1] Make vmport an optional feature at run time Sylvain Petreolle
2008-08-25 14:14 ` Anthony Liguori
2008-08-26 18:06 ` Ian Kirk
2008-08-28 20:19 ` Anthony Liguori
2008-08-28 20:42 ` Ian Kirk
2008-08-28 20:47 ` Anthony Liguori
2008-08-28 20:52 ` Ian Kirk
2008-08-28 21:41 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).