public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM not reporting dmidecode
@ 2008-02-13 18:13 jieryn
  2008-02-13 18:52 ` Ryan Harper
  0 siblings, 1 reply; 10+ messages in thread
From: jieryn @ 2008-02-13 18:13 UTC (permalink / raw)
  To: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 463 bytes --]

Greetings,

I'm using vanilla sources 2.6.24.2 and KVM-60. I'm trying to install a
corporate rollout WinXP image which utilizes WinPE in an attempt to be
clever. Unfortunately, this seems to fail because dmidecode and vpddecode
produce no usable results. Is there any chance that kvm/qemu will see
support for this?? I'm getting fairly desperate.

Thanks!
-jesse

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

[-- Attachment #1.2: Type: text/html, Size: 545 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-13 18:13 KVM not reporting dmidecode jieryn
@ 2008-02-13 18:52 ` Ryan Harper
  2008-02-14  9:52   ` Avi Kivity
  0 siblings, 1 reply; 10+ messages in thread
From: Ryan Harper @ 2008-02-13 18:52 UTC (permalink / raw)
  To: jieryn; +Cc: kvm-devel

* jieryn@gmail.com <jieryn@gmail.com> [2008-02-13 12:18]:
> Greetings,
> 
> I'm using vanilla sources 2.6.24.2 and KVM-60. I'm trying to install a
> corporate rollout WinXP image which utilizes WinPE in an attempt to be
> clever. Unfortunately, this seems to fail because dmidecode and vpddecode
> produce no usable results. Is there any chance that kvm/qemu will see
> support for this?? I'm getting fairly desperate.

I posted[1] a dmi patches a bit ago on qemu-devel for this.  There was a
better solution that involved fixing up the BIOS bits (bochs and qemu).
That patch is available as well on qemu-devel.  I've not see any
indication of when either bochs or qemu will pick up the DMI changes.

Until then you'll have to patch it in yourself.  This is the latest
revision AFAIK:

http://marc.info/?l=qemu-devel&m=120083547021821&w=2


1. http://marc.info/?l=qemu-devel&m=119740418021275&w=2

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-13 18:52 ` Ryan Harper
@ 2008-02-14  9:52   ` Avi Kivity
  2008-02-14  9:59     ` Alexander Graf
  2008-02-14 14:02     ` Ryan Harper
  0 siblings, 2 replies; 10+ messages in thread
From: Avi Kivity @ 2008-02-14  9:52 UTC (permalink / raw)
  To: Ryan Harper; +Cc: kvm-devel, jieryn

Ryan Harper wrote:
> I posted[1] a dmi patches a bit ago on qemu-devel for this.  There was a
> better solution that involved fixing up the BIOS bits (bochs and qemu).
> That patch is available as well on qemu-devel.  I've not see any
> indication of when either bochs or qemu will pick up the DMI changes.
>
>   

I guess I'll have to pick it up.  But I prefer the BIOS version.  Can 
you repost it?

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-14  9:52   ` Avi Kivity
@ 2008-02-14  9:59     ` Alexander Graf
  2008-02-14 10:08       ` Avi Kivity
  2008-02-14 14:02     ` Ryan Harper
  1 sibling, 1 reply; 10+ messages in thread
From: Alexander Graf @ 2008-02-14  9:59 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel, jieryn


On Feb 14, 2008, at 10:52 AM, Avi Kivity wrote:

> Ryan Harper wrote:
>> I posted[1] a dmi patches a bit ago on qemu-devel for this.  There  
>> was a
>> better solution that involved fixing up the BIOS bits (bochs and  
>> qemu).
>> That patch is available as well on qemu-devel.  I've not see any
>> indication of when either bochs or qemu will pick up the DMI changes.
>>
>>
>
> I guess I'll have to pick it up.  But I prefer the BIOS version.  Can
> you repost it?

I would really love to see this as well. Mac OS X is rather picky on  
the DMI tables, so I'm pretty sure I'll be able to find some bugs in  
the implementation when it's posted.

I also have several bios changes to include support for newer  
hardware, which was required to get Mac OS X working. Qemu follows the  
policy of having these patches sent to bochs, where they are probably  
going to be lying around for the next decade or so. Is there a chance  
to get the changes into the KVM bochs-bios branch?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-14  9:59     ` Alexander Graf
@ 2008-02-14 10:08       ` Avi Kivity
  2008-02-14 10:12         ` Alexander Graf
  0 siblings, 1 reply; 10+ messages in thread
From: Avi Kivity @ 2008-02-14 10:08 UTC (permalink / raw)
  To: Alexander Graf; +Cc: kvm-devel, jieryn

Alexander Graf wrote:
>
> I would really love to see this as well. Mac OS X is rather picky on 
> the DMI tables, so I'm pretty sure I'll be able to find some bugs in 
> the implementation when it's posted.
>
> I also have several bios changes to include support for newer 
> hardware, which was required to get Mac OS X working. Qemu follows the 
> policy of having these patches sent to bochs, where they are probably 
> going to be lying around for the next decade or so. Is there a chance 
> to get the changes into the KVM bochs-bios branch?
>

Yes.  Though I imagine you'll need changes to qemu as well, which I'm 
less thrilled to diverge from.  We'll work something out.

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-14 10:08       ` Avi Kivity
@ 2008-02-14 10:12         ` Alexander Graf
  2008-02-14 10:16           ` Avi Kivity
  0 siblings, 1 reply; 10+ messages in thread
From: Alexander Graf @ 2008-02-14 10:12 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel, jieryn


On Feb 14, 2008, at 11:08 AM, Avi Kivity wrote:

> Alexander Graf wrote:
>>
>> I would really love to see this as well. Mac OS X is rather picky on
>> the DMI tables, so I'm pretty sure I'll be able to find some bugs in
>> the implementation when it's posted.
>>
>> I also have several bios changes to include support for newer
>> hardware, which was required to get Mac OS X working. Qemu follows  
>> the
>> policy of having these patches sent to bochs, where they are probably
>> going to be lying around for the next decade or so. Is there a chance
>> to get the changes into the KVM bochs-bios branch?
>>
>
> Yes.  Though I imagine you'll need changes to qemu as well, which I'm
> less thrilled to diverge from.  We'll work something out.

I do, yes. The patches are already lying around on the qemu ML but  
have not received any comments or commits. If you have any idea how to  
get them into qemu, please tell me. I'd love to see them included.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-14 10:12         ` Alexander Graf
@ 2008-02-14 10:16           ` Avi Kivity
  2008-02-14 12:59             ` jieryn
  0 siblings, 1 reply; 10+ messages in thread
From: Avi Kivity @ 2008-02-14 10:16 UTC (permalink / raw)
  To: Alexander Graf; +Cc: kvm-devel, jieryn

Alexander Graf wrote:
>
> I do, yes. The patches are already lying around on the qemu ML but 
> have not received any comments or commits. If you have any idea how to 
> get them into qemu, please tell me. I'd love to see them included.
>

The only method that seems to work is to keep resending; eventually they 
get tired of ignoring it.

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-14 10:16           ` Avi Kivity
@ 2008-02-14 12:59             ` jieryn
  0 siblings, 0 replies; 10+ messages in thread
From: jieryn @ 2008-02-14 12:59 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel, Alexander Graf


[-- Attachment #1.1: Type: text/plain, Size: 304 bytes --]

On Thu, Feb 14, 2008 at 5:16 AM, Avi Kivity <avi@qumranet.com> wrote:

> The only method that seems to work is to keep resending; eventually they
> get tired of ignoring it.
>

Please do not give up! :-)

-- 
There are 10 types of people in this world, those
that can read binary and those that can not.

[-- Attachment #1.2: Type: text/html, Size: 552 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-14  9:52   ` Avi Kivity
  2008-02-14  9:59     ` Alexander Graf
@ 2008-02-14 14:02     ` Ryan Harper
  2008-02-14 16:35       ` Ryan Harper
  1 sibling, 1 reply; 10+ messages in thread
From: Ryan Harper @ 2008-02-14 14:02 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel, Ryan Harper, jieryn

* Avi Kivity <avi@qumranet.com> [2008-02-14 04:28]:
> Ryan Harper wrote:
> >I posted[1] a dmi patches a bit ago on qemu-devel for this.  There was a
> >better solution that involved fixing up the BIOS bits (bochs and qemu).
> >That patch is available as well on qemu-devel.  I've not see any
> >indication of when either bochs or qemu will pick up the DMI changes.
> >
> >  
> 
> I guess I'll have to pick it up.  But I prefer the BIOS version.  Can 
> you repost it?

I prefer the BIOS method as well.  If we pick up anything before QEMU
does, we should pull in that one.  It looks like it was committed[1] to
BOCH cvs on Jan 21st.  I'll pull the BIOS and test that it works with
QEMU cvs/KVM and see if we can get QEMU to pull in a new BIOS build and
the QEMU changes to support DMI.

1.  http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios32.c?revision=1.20&view=markup

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: KVM not reporting dmidecode
  2008-02-14 14:02     ` Ryan Harper
@ 2008-02-14 16:35       ` Ryan Harper
  0 siblings, 0 replies; 10+ messages in thread
From: Ryan Harper @ 2008-02-14 16:35 UTC (permalink / raw)
  To: Avi Kivity, jieryn, kvm-devel; +Cc: Ryan Harper

* Ryan Harper <ryanh@us.ibm.com> [2008-02-14 08:02]:
> * Avi Kivity <avi@qumranet.com> [2008-02-14 04:28]:
> > Ryan Harper wrote:
> > >I posted[1] a dmi patches a bit ago on qemu-devel for this.  There was a
> > >better solution that involved fixing up the BIOS bits (bochs and qemu).
> > >That patch is available as well on qemu-devel.  I've not see any
> > >indication of when either bochs or qemu will pick up the DMI changes.
> > >
> > >  
> > 
> > I guess I'll have to pick it up.  But I prefer the BIOS version.  Can 
> > you repost it?
> 
> I prefer the BIOS method as well.  If we pick up anything before QEMU
> does, we should pull in that one.  It looks like it was committed[1] to
> BOCH cvs on Jan 21st.  I'll pull the BIOS and test that it works with
> QEMU cvs/KVM and see if we can get QEMU to pull in a new BIOS build and
> the QEMU changes to support DMI.
> 
> 1.  http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios32.c?revision=1.20&view=markup

I just built bochs from cvs and dmidecode is working.  I'm not sure what
other testing is done before uploading a newer bochs BIOS in the
kvm-userspace repo, but dmidecode display the proper number of cpus and
memory as well as the BIOS release date needed for shutdown on some
kernels with APCI BLACKLIST date set.

No changes to QEMU are needed AFAICT.  I'll test with QEMU cvs can
confirm latest BOCHS and dmidecode are working there and request they
pull in a new build of BOCHS.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-02-14 16:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13 18:13 KVM not reporting dmidecode jieryn
2008-02-13 18:52 ` Ryan Harper
2008-02-14  9:52   ` Avi Kivity
2008-02-14  9:59     ` Alexander Graf
2008-02-14 10:08       ` Avi Kivity
2008-02-14 10:12         ` Alexander Graf
2008-02-14 10:16           ` Avi Kivity
2008-02-14 12:59             ` jieryn
2008-02-14 14:02     ` Ryan Harper
2008-02-14 16:35       ` Ryan Harper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox