Re: [PATCH 2/2] KVM: PPC: booke: add sregs support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Apr 2011 01:19:39 +0200
Alexander Graf <agraf@xxxxxxx> wrote:

> On 19.04.2011, at 00:31, Scott Wood wrote:
> 
> > int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
> >                                   struct kvm_sregs *sregs)
> > {
> > -	return -ENOTSUPP;
> > +	int ret;
> > +
> > +	vcpu->arch.pvr = sregs->pvr;
> 
> This should contain a check for now to see if sregs->pvr == host pvr. We don't do cross virtualization on booke yet.

Heh.  I actually had that before, and took it out because I thought it'd
draw a complaint. :-)

-Scott

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux