Displaying 15 results from an estimated 15 matches for "xen_rnd".
2014 Sep 19
4
Standardizing an MSR or other hypercall to get an RNG seed?
...l 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?
...l 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?
...MKVM) {
> > 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)
> > }
> >
>
> If we need to do chase loops, especially not so...
>
What loops exactly? As a non native English speaker I fail to understand
if your answer is "yes" or "no" ;)
--
Gleb.
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...MKVM) {
> > 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)
> > }
> >
>
> If we need to do chase loops, especially not so...
>
What loops exactly? As a non native English speaker I fail to understand
if your answer is "yes" or "no" ;)
--
Gleb.
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
...& 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)
> >>> }
> >>>
> >>
> >> If we need to do chase loops, especially not so...
> >>
> > What loops exactly? As a non native English speaker I fail to understand
> > if your answer is "yes&quo...
2014 Sep 19
2
Standardizing an MSR or other hypercall to get an RNG seed?
...& 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)
> >>> }
> >>>
> >>
> >> If we need to do chase loops, especially not so...
> >>
> > What loops exactly? As a non native English speaker I fail to understand
> > if your answer is "yes&quo...
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...msr(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)
> >> >>> }
> >> >>>
> >> >>
> >> >> If we need to do chase loops, especially not so...
> >> >>
> >> > What loops exactly? As a non native English speaker...
2014 Sep 19
3
Standardizing an MSR or other hypercall to get an RNG seed?
...msr(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)
> >> >>> }
> >> >>>
> >> >>
> >> >> If we need to do chase loops, especially not so...
> >> >>
> >> > What loops exactly? As a non native English speaker...
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...R_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)
> }
>
If we need to do chase loops, especially not so...
-hpa
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...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)
>>> }
>>>
>>
>> If we need to do chase loops, especially not so...
>>
> What loops exactly? As a non native English speaker I fail to understand
> if your answer is "yes" or "no" ;)
>
The above...
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...OR_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)
> }
>
I think that there's a lot of value in having each guest
implementation be automatically compatible with all hypervisors. For
example, you forgot VMware, and VMware might be less excited about
implementing this feature if all the guests won't imm...
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?
...>>> 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)
>> >>> }
>> >>>
>> >>
>> >> If we need to do chase loops, especially not so...
>> >>
>> > What loops exactly? As a non native English speaker I fail to understand
>> >...
2014 Sep 19
0
Standardizing an MSR or other hypercall to get an RNG seed?
...; >> >>> else (h == HyperV) {
>> >> >>> if (cpuid(hv_features) & hv_rnd)
>> >> >>> rdmsr(hv_rnd)
>> >> >>> else (h == XenXenXen) {
>> >> >>> if (cpuid(xen_features) & xen_rnd)
>> >> >>> rdmsr(xen_rnd)
>> >> >>> }
>> >> >>>
>> >> >>
>> >> >> If we need to do chase loops, especially not so...
>> >> >>
>> >> > What loops exactly? As...