From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: Pausing / unpausing a single domain VCPU via libxc Date: Thu, 26 Jan 2017 16:14:18 +0100 Message-ID: <1485443658.32103.165.camel@citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0226510771185487223==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cWloj-0000xW-PR for xen-devel@lists.xenproject.org; Thu, 26 Jan 2017 15:18:29 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Razvan Cojocaru , xen-devel@lists.xenproject.org Cc: Andrew Cooper , Ian Jackson , Wei Liu List-Id: xen-devel@lists.xenproject.org --===============0226510771185487223== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-4JMw0ZQwIiFx0k2EnNBv" --=-4JMw0ZQwIiFx0k2EnNBv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable [Adding tools people, and Andrew's which, according to git history, =C2=A0has touched the involved (Xen) code for last :-) ] On Thu, 2017-01-26 at 14:08 +0200, Razvan Cojocaru wrote: > Hello, >=20 > I see that there's currently no xc_vcpu_pause() (there's only > xc_domain_pause(), which freezes all the VCPUs), but there's > XEN_DOMCTL_gdbsx_pausevcpu, which is only used by > tools/debugger/gdbsx/xg/xg_main.c. >=20 > Wouldn't it make sense to have a "regular" DOMCTL in libxc that the > debugger, as well as other clients, would make use of (said > xc_vcpu_pause() / xc_vcpu_unpause())? >=20 You mean you'd want to implement xc_vcpu_pause() by means of the=C2=A0XEN_DOMCTL_gdbsx_pausevcpu? What's the use case for that, and does it fit with the implementation of said hypercall (which, e.g., requires that the domain is already paused)? Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-4JMw0ZQwIiFx0k2EnNBv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJYihJKAAoJEBZCeImluHPuzMgQAIMHBdYwAOZ/GplGzBwv7ShB 7gRPGF2E2X2oAaJh4F92izmbFfpMM/9TlWzdHsfG2WlD67HER7XUH5Qcy0WdoO8k 3qvbk85Iy1d5q8dzLZ3hBGmk/PBLlsog2Ts8fFvRm8Zto5qxp99ECK/suL7Chk1v QZds38YowhxKPcPVF2g2yA/uLMpOlGG3LPk9h+vXVJocsxpvRk/jZGW+R5g9C74y Fdy+3SVTOK82+keyzhHgm6jRmSrjA7wfUrGgfLc0s2NcyB/C10afdsR57JDdhju6 Nxp+XqfXUqtsoNH7ZE5A+4udPj9TbAczhhxVMt7J0/44NTshK8r8MLYK5wmCzrwE n66Xh11+zcJLX9lZt9VEeVrWKQWZx/vmAneu3ZVd4xarBbjkfD9pYvoOM93B3i/N Ot9NbgIbVIl2mPPBOW530galVrp3NGYOXPfdchT3K7yeoHtgqX9gOgUokKHDDdRN 1WH1OLHj33xw12x4EvGV4mr/+9Gm0dUGmYEK9cLQR+T/nDPRjy3vTDcMXljUJCve W5lPUJ7f81hx8WjkrdiQOfxcLKQHiodxiR1OMSwqRIPm8idGs3YQNR04yGH3xQpg leuiQKHn5Ah2gBlcMM7DzRggD82DQZtFHZhbFQsYApSHxXwL70gapiovtg1cXija mRRsm28CGCvBIUn79MI3 =8H5j -----END PGP SIGNATURE----- --=-4JMw0ZQwIiFx0k2EnNBv-- --===============0226510771185487223== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============0226510771185487223==--