Skip to contentSkip to conversation

Xen Signature == "NovellShimHv" ???

DISCUSSION James Harper 5 participants 12 messages Sep 15, 2009

lore
Share & tools
lore
#0 lore raw

A user of GPLPV is reporting a problem with the drivers on Windows 2008, and it appears that GPLPV is finding a signature of 'NovellShimHv' instead of 'XenVMMXenVMM'.

Can anyone suggest a reason for this?

Thanks

James

#1 lore raw
Quoted 5 lines · James Harper

A user of GPLPV is reporting a problem with the drivers on Windows 2008, and it appears that GPLPV is finding a signature of 'NovellShimHv' instead of 'XenVMMXenVMM'.

Can anyone suggest a reason for this?

SLES10 SP2 Xen has the code for this. It is basically an early version of the Veridian interface.

Quoted 10 lines

Thanks

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 3 lines · James Harper
Quoted 1 line

A user of GPLPV is reporting a problem with the drivers on Windows

2008,

Quoted 6 lines
Quoted 4 lines

and it appears that GPLPV is finding a signature of 'NovellShimHv' instead of 'XenVMMXenVMM'.

Can anyone suggest a reason for this?

SLES10 SP2 Xen has the code for this. It is basically an early version

of the

Quoted 1 line

Veridian interface.

Ah. Hmmm. So does that mean that PV drivers on HVM domains (windows or Linux) aren't going to work at all? Should I check for both 'NovellShimHv' and 'XenVMMXenVMM'? I notice that the unmodified drivers tree under xen doesn't check for this, and neither does hvmloader.

James

#3 lore raw
Quoted 7 lines · James Harper
Quoted 3 lines · James Harper
Quoted 1 line

A user of GPLPV is reporting a problem with the drivers on Windows

2008,

Quoted 3 lines
Quoted 3 lines

and it appears that GPLPV is finding a signature of 'NovellShimHv' instead of 'XenVMMXenVMM'.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Can anyone suggest a reason for this?

SLES10 SP2 Xen has the code for this. It is basically an early version

of the

Quoted 1 line

Veridian interface.

Ah. Hmmm. So does that mean that PV drivers on HVM domains (windows or Linux) aren't going to work at all? Should I check for both

I don't think you need to worry about Linux. The shim enabled extra functionality so that under Windows 2008 (and further) you wouldn't hit the BSOD watchdog failure. I don't think any extra functionaly was provided besides that.

Quoted 2 lines

'NovellShimHv' and 'XenVMMXenVMM'? I notice that the unmodified drivers tree under xen doesn't check for this, and neither does hvmloader.

Correct. SLES version to my recollection never made it to Xen-devel.

Quoted 3 lines

James

#4 lore raw
In reply to James Harper
Quoted 8 lines · James Harper
Quoted 1 line

SLES10 SP2 Xen has the code for this. It is basically an early version

of the

Quoted 1 line

Veridian interface.

Ah. Hmmm. So does that mean that PV drivers on HVM domains (windows or Linux) aren't going to work at all? Should I check for both 'NovellShimHv' and 'XenVMMXenVMM'? I notice that the unmodified drivers tree under xen doesn't check for this, and neither does hvmloader.

They may have moved XenVMMXenVMM out of the way to another leaf? Like we do with the checked-in Viridian shim.

-- Keir

#5 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 15.09.09 09:30 >>>

Quoted 4 lines · James Harper
Quoted 1 line

SLES10 SP2 Xen has the code for this. It is basically an early version

of the

Quoted 1 line

Veridian interface.

Quoted 7 lines
Quoted 4 lines

Ah. Hmmm. So does that mean that PV drivers on HVM domains (windows or Linux) aren't going to work at all? Should I check for both 'NovellShimHv' and 'XenVMMXenVMM'? I notice that the unmodified drivers tree under xen doesn't check for this, and neither does hvmloader.

They may have moved XenVMMXenVMM out of the way to another leaf? Like we do with the checked-in Viridian shim.

Yes, to 0x40001xxx.

Jan

#6 lore raw
Quoted 1 line
Quoted 1 line

They may have moved XenVMMXenVMM out of the way to another leaf? Like

we do

Quoted 4 lines
Quoted 1 line

with the checked-in Viridian shim.

Yes, to 0x40001xxx.

I think I only check up to 0x0FFF (I think that's all the HVM Linux drivers do). What is a reasonable ceiling?

James

#7 lore raw
Quoted 10 lines
Quoted 2 lines
Quoted 1 line

"James Harper" <[email protected]> 15.09.09 11:15 >>>

They may have moved XenVMMXenVMM out of the way to another leaf? Like

we do

Quoted 4 lines
Quoted 1 line

with the checked-in Viridian shim.

Yes, to 0x40001xxx.

I think I only check up to 0x0FFF (I think that's all the HVM Linux drivers do). What is a reasonable ceiling?

Perhaps you'll want to scan the whole virtualization reserved space, which iirc is up to 0x4000ffff.

Keir, perhaps xen-detect should also be adjusted accordingly?

Jan

#8 lore raw
Quoted 7 lines · Jan Beulich
Quoted 2 lines

I think I only check up to 0x0FFF (I think that's all the HVM Linux drivers do). What is a reasonable ceiling?

Perhaps you'll want to scan the whole virtualization reserved space, which iirc is up to 0x4000ffff.

Keir, perhaps xen-detect should also be adjusted accordingly?

Can do. Is the step size of 0x100 okay (i.e., searching 0x4000xx00)?

-- Keir

#9 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 15.09.09 15:13 >>>

Quoted 3 lines · Jan Beulich
Quoted 2 lines

I think I only check up to 0x0FFF (I think that's all the HVM Linux drivers do). What is a reasonable ceiling?

Quoted 6 lines
Quoted 4 lines

Perhaps you'll want to scan the whole virtualization reserved space, which iirc is up to 0x4000ffff.

Keir, perhaps xen-detect should also be adjusted accordingly?

Can do. Is the step size of 0x100 okay (i.e., searching 0x4000xx00)?

Yes.

#10 lore raw
In reply to James Harper
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On 9/14/2009 at 9:41 PM, in message

<AEC6C66638C05B468B556EA548C1A77D0177D2B2@trantor>, "James Harper"

Quoted 11 lines · <[email protected]> wrote:
Quoted 3 lines · James Harper
Quoted 1 line

A user of GPLPV is reporting a problem with the drivers on Windows

2008,

Quoted 6 lines
Quoted 4 lines

and it appears that GPLPV is finding a signature of 'NovellShimHv' instead of 'XenVMMXenVMM'.

Can anyone suggest a reason for this?

SLES10 SP2 Xen has the code for this. It is basically an early version

of the

Quoted 8 lines
Quoted 1 line

Veridian interface.

Ah. Hmmm. So does that mean that PV drivers on HVM domains (windows or Linux) aren't going to work at all? Should I check for both 'NovellShimHv' and 'XenVMMXenVMM'? I notice that the unmodified drivers tree under xen doesn't check for this, and neither does hvmloader.

James

A simple workaround here might be to disable the HyperV shim when you are loading GPL PV drivers for windows on a SLES host; this is done by setting extid = 0 in the VM config file. If you want the shim enabled and run GPL PV , you have more issues than the hypervisor signature. Some of the CPUID leaves and MSRs of Xen and HyerV collide and this needs to be disambiguated.

Regards,

K. Y

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw
In reply to James Harper

James,

This user must be using a SLES based system. On SLES, the HyperV shim returns this signature.

Regards,

K. Y

Quoted 1 line
Quoted 1 line
Quoted 1 line

On 9/14/2009 at 9:24 PM, in message

<AEC6C66638C05B468B556EA548C1A77D0177D2B0@trantor>, "James Harper"

Quoted 15 lines · <[email protected]> wrote:

A user of GPLPV is reporting a problem with the drivers on Windows 2008, and it appears that GPLPV is finding a signature of 'NovellShimHv' instead of 'XenVMMXenVMM'.

Can anyone suggest a reason for this?

Thanks

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel