search for: hypervior_signature

Displaying 15 results from an estimated 15 matches for "hypervior_signature".

2014 Sep 19
4
Standardizing an MSR or other hypercall to get an RNG seed?
...9, 2014 at 09:40:07AM -0700, H. Peter Anvin wrote: > On 09/19/2014 09:37 AM, Gleb Natapov wrote: > > > > Linux detects what hypervior it runs on very early > > Not anywhere close to early enough. We're talking for uses like kASLR. > Still to early to do: h = cpuid(HYPERVIOR_SIGNATURE) if (h == KVMKVMKVM) { if (cpuid(kvm_features) & kvm_rnd) rdmsr(kvm_rnd) else (h == HyperV) { if (cpuid(hv_features) & hv_rnd) rdmsr(hv_rnd) else (h == XenXenXen) { if (cpuid(xen_features) & xen_rnd) rdmsr(xen_rnd) } ? -- Gleb.
2014 Sep 19
4
Standardizing an MSR or other hypercall to get an RNG seed?
...9, 2014 at 09:40:07AM -0700, H. Peter Anvin wrote: > On 09/19/2014 09:37 AM, Gleb Natapov wrote: > > > > Linux detects what hypervior it runs on very early > > Not anywhere close to early enough. We're talking for uses like kASLR. > Still to early to do: h = cpuid(HYPERVIOR_SIGNATURE) if (h == KVMKVMKVM) { if (cpuid(kvm_features) & kvm_rnd) rdmsr(kvm_rnd) else (h == HyperV) { if (cpuid(hv_features) & hv_rnd) rdmsr(hv_rnd) else (h == XenXenXen) { if (cpuid(xen_features) & xen_rnd) rdmsr(xen_rnd) } ? -- Gleb.
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...9:37 AM, Gleb Natapov wrote: > >>> > >>> Linux detects what hypervior it runs on very early > >> > >> Not anywhere close to early enough. We're talking for uses like kASLR. > >> > > Still to early to do: > > > > h = cpuid(HYPERVIOR_SIGNATURE) > > if (h == KVMKVMKVM) { > > if (cpuid(kvm_features) & kvm_rnd) > > rdmsr(kvm_rnd) > > else (h == HyperV) { > > if (cpuid(hv_features) & hv_rnd) > > rdmsr(hv_rnd) > > else (h == XenXenXen) { > > i...
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...9:37 AM, Gleb Natapov wrote: > >>> > >>> Linux detects what hypervior it runs on very early > >> > >> Not anywhere close to early enough. We're talking for uses like kASLR. > >> > > Still to early to do: > > > > h = cpuid(HYPERVIOR_SIGNATURE) > > if (h == KVMKVMKVM) { > > if (cpuid(kvm_features) & kvm_rnd) > > rdmsr(kvm_rnd) > > else (h == HyperV) { > > if (cpuid(hv_features) & hv_rnd) > > rdmsr(hv_rnd) > > else (h == XenXenXen) { > > i...
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
...;>>>> Linux detects what hypervior it runs on very early > >>>> > >>>> Not anywhere close to early enough. We're talking for uses like kASLR. > >>>> > >>> Still to early to do: > >>> > >>> h = cpuid(HYPERVIOR_SIGNATURE) > >>> if (h == KVMKVMKVM) { > >>> if (cpuid(kvm_features) & kvm_rnd) > >>> rdmsr(kvm_rnd) > >>> else (h == HyperV) { > >>> if (cpuid(hv_features) & hv_rnd) > >>> rdmsr(hv_rnd) > &...
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
...;>>>> Linux detects what hypervior it runs on very early > >>>> > >>>> Not anywhere close to early enough. We're talking for uses like kASLR. > >>>> > >>> Still to early to do: > >>> > >>> h = cpuid(HYPERVIOR_SIGNATURE) > >>> if (h == KVMKVMKVM) { > >>> if (cpuid(kvm_features) & kvm_rnd) > >>> rdmsr(kvm_rnd) > >>> else (h == HyperV) { > >>> if (cpuid(hv_features) & hv_rnd) > >>> rdmsr(hv_rnd) > &...
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...on very early > >> >>>> > >> >>>> Not anywhere close to early enough. We're talking for uses like kASLR. > >> >>>> > >> >>> Still to early to do: > >> >>> > >> >>> h = cpuid(HYPERVIOR_SIGNATURE) > >> >>> if (h == KVMKVMKVM) { > >> >>> if (cpuid(kvm_features) & kvm_rnd) > >> >>> rdmsr(kvm_rnd) > >> >>> else (h == HyperV) { > >> >>> if (cpuid(hv_features) & hv_rnd) &g...
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...on very early > >> >>>> > >> >>>> Not anywhere close to early enough. We're talking for uses like kASLR. > >> >>>> > >> >>> Still to early to do: > >> >>> > >> >>> h = cpuid(HYPERVIOR_SIGNATURE) > >> >>> if (h == KVMKVMKVM) { > >> >>> if (cpuid(kvm_features) & kvm_rnd) > >> >>> rdmsr(kvm_rnd) > >> >>> else (h == HyperV) { > >> >>> if (cpuid(hv_features) & hv_rnd) &g...
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...er Anvin wrote: >> On 09/19/2014 09:37 AM, Gleb Natapov wrote: >>> >>> Linux detects what hypervior it runs on very early >> >> Not anywhere close to early enough. We're talking for uses like kASLR. >> > Still to early to do: > > h = cpuid(HYPERVIOR_SIGNATURE) > if (h == KVMKVMKVM) { > if (cpuid(kvm_features) & kvm_rnd) > rdmsr(kvm_rnd) > else (h == HyperV) { > if (cpuid(hv_features) & hv_rnd) > rdmsr(hv_rnd) > else (h == XenXenXen) { > if (cpuid(xen_features) & xen_rnd) &g...
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...rote: >>>>> >>>>> Linux detects what hypervior it runs on very early >>>> >>>> Not anywhere close to early enough. We're talking for uses like kASLR. >>>> >>> Still to early to do: >>> >>> h = cpuid(HYPERVIOR_SIGNATURE) >>> if (h == KVMKVMKVM) { >>> if (cpuid(kvm_features) & kvm_rnd) >>> rdmsr(kvm_rnd) >>> else (h == HyperV) { >>> if (cpuid(hv_features) & hv_rnd) >>> rdmsr(hv_rnd) >>> else (h == XenXenXen...
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...n wrote: > > On 09/19/2014 09:37 AM, Gleb Natapov wrote: > > > > > > Linux detects what hypervior it runs on very early > > > > Not anywhere close to early enough. We're talking for uses like kASLR. > > > Still to early to do: > > h = cpuid(HYPERVIOR_SIGNATURE) > if (h == KVMKVMKVM) { > if (cpuid(kvm_features) & kvm_rnd) > rdmsr(kvm_rnd) > else (h == HyperV) { > if (cpuid(hv_features) & hv_rnd) > rdmsr(hv_rnd) > else (h == XenXenXen) { > if (cpuid(xen_features) & xen_rnd) &gt...
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
On Thu, Sep 18, 2014 at 03:00:05PM -0700, Andy Lutomirski wrote: > On Thu, Sep 18, 2014 at 2:46 PM, David Hepkin <davidhep at microsoft.com> wrote: > > I suggest we come to consensus on a specific CPUID leaf where an OS needs to look to determine if a hypervisor supports this capability. We could define a new CPUID leaf range at a well-defined location, or we could just use one of
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
On Thu, Sep 18, 2014 at 03:00:05PM -0700, Andy Lutomirski wrote: > On Thu, Sep 18, 2014 at 2:46 PM, David Hepkin <davidhep at microsoft.com> wrote: > > I suggest we come to consensus on a specific CPUID leaf where an OS needs to look to determine if a hypervisor supports this capability. We could define a new CPUID leaf range at a well-defined location, or we could just use one of
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...detects what hypervior it runs on very early >> >>>> >> >>>> Not anywhere close to early enough. We're talking for uses like kASLR. >> >>>> >> >>> Still to early to do: >> >>> >> >>> h = cpuid(HYPERVIOR_SIGNATURE) >> >>> if (h == KVMKVMKVM) { >> >>> if (cpuid(kvm_features) & kvm_rnd) >> >>> rdmsr(kvm_rnd) >> >>> else (h == HyperV) { >> >>> if (cpuid(hv_features) & hv_rnd) >> >>>...
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...>> >>>> >> >> >>>> Not anywhere close to early enough. We're talking for uses like kASLR. >> >> >>>> >> >> >>> Still to early to do: >> >> >>> >> >> >>> h = cpuid(HYPERVIOR_SIGNATURE) >> >> >>> if (h == KVMKVMKVM) { >> >> >>> if (cpuid(kvm_features) & kvm_rnd) >> >> >>> rdmsr(kvm_rnd) >> >> >>> else (h == HyperV) { >> >> >>> if (cpuid(hv_featur...