Re: query of CP locked guest pages

2008-12-12 Thread Bill Holder
I should have added that this is how it works in z/VM 5.2.0 and newer releases. z/VM 5.1.0 and older still use the old FRMTE based locking scheme, and there's no host logical / host real differentiation, so there 's only one check, FRMCPLOK. - Bill Holder, z/VM Development, IBM On Fri, 12 Dec

Re: query of CP locked guest pages

2008-12-12 Thread David Kreuter
thanks - I'll let you know when I get this cookin' David From: The IBM z/VM Operating System on behalf of Bill Holder Sent: Fri 12/12/2008 9:39 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: [IBMVM] query of CP locked guest pages I should have added

Re: query of CP locked guest pages

2008-12-11 Thread Bill Holder
The locking / pinning mechanism moved from the FRMTE to the PTE/PGSTE as of 5.2.0 as part of the support for HPMA (a hardware page fault assist allow ing hardware pinning) and QDIO passthrough. A page being locked by command i s now indicated by the PGSCPLOK bit in byte 6 of the PGSTE (see also

Re: query of CP locked guest pages

2008-12-11 Thread Bill Holder
Dave, are you looking to unlock just a subset of what was locked, or all of them? If you just want to unlock everything, a single UNLOCK command covering all the guest's storage (or two, if pages were explicitly locked to both real and logical) will do it. - Bill Holder, z/VM Development,

Re: query of CP locked guest pages

2008-12-11 Thread Bill Holder
The other trick I should mention is that PGSCPLOK is only set if the pa ge was explicitly locked to host real. If locked by command to host logical , SXSCPLOK is set in the corresponding SXSTE (another structure entirely, which is used to manage System Execution Space (Host Logical) page usage

Re: query of CP locked guest pages

2008-12-11 Thread David Kreuter
] query of CP locked guest pages Dave, are you looking to unlock just a subset of what was locked, or all = of them? If you just want to unlock everything, a single UNLOCK command covering all the guest's storage (or two, if pages were explicitly locked= to both real and logical) will do

Re: query of CP locked guest pages

2008-12-11 Thread Alan Altmark
On Thursday, 12/11/2008 at 01:32 EST, David Kreuter dkreu...@vm-resources.com wrote: nah I am in need of a method to determine which pages of a virtual machine have been locked by the lock command. Would you use the information for anything other than to unlock said pages? Alan Altmark

Re: query of CP locked guest pages

2008-12-10 Thread Bill Holder
There is indeed no CP QUERY LOCKED command, I assume because nobody's ask ed for it before (ok, I haven't actually looked to see if anyone has, it's possible someone did, but it never made the cut). If the information wasn't saved from the point where the LOCK requests were issued, I can't think

Re: query of CP locked guest pages

2008-12-10 Thread Rob van der Heij
On Wed, Dec 10, 2008 at 4:47 PM, Dave Jones [EMAIL PROTECTED] wrote: I'm stumped hereI have a guest virtual machine (running Linux, but I think that's immaterial) that has locked some of its pages into host storage via the CP LOCK commandnow I want to find out *which* guest pages were

Re: query of CP locked guest pages

2008-12-10 Thread David Kreuter
Heij Sent: Wed 12/10/2008 6:15 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: [IBMVM] query of CP locked guest pages On Wed, Dec 10, 2008 at 4:47 PM, Dave Jones [EMAIL PROTECTED] wrote: I'm stumped hereI have a guest virtual machine (running Linux, but I think that's immaterial) that has

Re: query of CP locked guest pages

2008-12-10 Thread Rob van der Heij
On Thu, Dec 11, 2008 at 12:22 AM, David Kreuter [EMAIL PROTECTED] wrote: The frametable entries do not have an obvious bit indicating that the page is a target of a CP lock. I'll keep digging. I'm going to as time permits hunt down through the virtual machine pgmbk's. David So you can tell

Re: query of CP locked guest pages

2008-12-10 Thread David Kreuter
. David From: The IBM z/VM Operating System on behalf of Rob van der Heij Sent: Wed 12/10/2008 7:05 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: [IBMVM] query of CP locked guest pages On Thu, Dec 11, 2008 at 12:22 AM, David Kreuter [EMAIL PROTECTED] wrote