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

[Xen-devel] Is it safe to assume that v == current in hvm_do_resume()?


  • To: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: Razvan Cojocaru <rcojocaru@xxxxxxxxxxxxxxx>
  • Date: Wed, 22 Oct 2014 11:11:41 +0300
  • Comment: DomainKeys? See http://domainkeys.sourceforge.net/
  • Delivery-date: Wed, 22 Oct 2014 08:11:51 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=bitdefender.com; b=X6zJIA9KBM3vu+9gP3JM6QGQY0Nmowd2G3xTXU+qxu7k0JZavAwGsGCV5RS1dxc76lWJGn1+BXjVBqQDFUbLMKqOaKnxzYMrMiLaqsVM6w72aYXCs8iL98A3sZbJWW8xnEg2OAvFe+Fc3xajRsdHji5ByNXRXAKdlRq5xgJkGDDJDBmdNKNMb6g0SjWUYPIT+CnIKrPuy38BSbXA6v6ERCqDA4HsLZL+C7GsOyNQzkerHJQkIu7aA/UtOQBIsKkgu+7cvfsYSrNiiXEp3jI0JaTVB8mewEXJ823k6kvD+WeYR54VI8vCf05SspxLuS445U4whu+YYfYlAapeTbLIow==; h=Received:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-BitDefender-Scanner:X-BitDefender-Spam:X-BitDefender-SpamStamp:X-BitDefender-CF-Stamp;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello,

As far as I've understood the code, and based on several tests, it would
appear that in xen/arch/x86/hvm/hvm.c, the struct vcpu *v parameter to
hvm_do_resume() is always equal to current.

Is that a reasonable assumption to make? I could have missed some use
cases for the function.


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.