Re: Can a VM machine ...
Not really. Supervisor state is virtualized for the CMS user. When an instruction requiring supervisor state is executed in a CMS machine, a privop occurs and CP is given control to simulate the
By
Bob Bolch
·
#4743
·
|
Re: Can a VM machine ...
When you run under VM, you are in a virtual machine and everything is virtualized. No one on this forum needs a lesson on that. Applications running under CMS are given control in supervisor state by
By
Aaron Finerman
·
#4742
·
|
Re: Can a VM machine ...
Aaron Finerman wrote: Then your knowledge needs updating. ;-) CMS *thinks* it is running in supervisor state, but it actually doesn't. It simply runs in *virtualized* supervisor state. It *actually*
By
Fish Fish
·
#4741
·
|
Re: Can a VM machine ...
I just asked because no documentation I could find says that " diagnose 8 instructions executed in supervisor state" can be sent to Hercules. Bob
By
Bob Bolch
·
#4740
·
|
Re: Can a VM machine ...
"CMS executes in virtual supervisor state; so do applications you run under CMS. At the same time, CP is running in real problem state. This means that your virtual machine and the programs you run
By
Joe Monk
·
#4739
·
|
Re: Can a VM machine ...
To the best my knowledge, CMS always runs in supervisor state. But it does not run with key zero. Best regards,
By
Aaron Finerman
·
#4738
·
|
Re: Can a VM machine ...
Bob Bolch wrote: Indeed! -- *IF* -- CMS's or other virtual machines' DIAG 8 instructions would end up being passed to Hercules for processing, but why would that happen? The Diagnose instruction is a
By
Fish Fish
·
#4737
·
|
Re: Can a VM machine ...
Bertram Moshier wrote: Yes. It can be done either indirectly if there's no Hercules DIAG 8 support in CP or directly if there is. If CP has support to talk to Hercules via DIAG 8 (and I believe Dave
By
Fish Fish
·
#4736
·
|
Re: Can a VM machine ...
From: hercules-390@... [mailto:hercules-390@...] On Behalf Of Dave Wade Sent: Tuesday, September 16, 2008 22:16 To: hercules-390@... Subject: RE: [hercules-390] Automation form the Operating system to
By
Joe Monk
·
#4735
·
|
Re: Can a VM machine ...
Hi, I thought only CP ran in supervisor state and everything else runs in problem state on the physical system. Thus Diag 8 in a virtual system can't get to Herculesn but only to CP. While CP diag 8
By
Bertram Moshier
·
#4734
·
|
Re: Can a VM machine ...
Dave, How does this mod 10 work? I'm assuming you don't mean Diagnose 10. Isn't diagnose x'0010' to release pages? Bert.
By
Bertram Moshier
·
#4733
·
|
Re: Can a VM machine ...
Yep ... and your question was: :) You can easily write a callable interface for your backup program to switch to supervisor key and issue DIAG 8. With the hercules CP mod and the config option I
By
Joe Monk
·
#4732
·
|
Re: Can a VM machine ...
Hello Joe, Yes; but by CP (DMK) not aCMS program. I say this because diag 8 from a virtual system is for issuing CP command. Inside DMK/CP a diag 8 would go to Hercules. Bert
By
Bertram Moshier
·
#4731
·
|
Re: Can a VM machine ...
Joe & Bob DIAG is a privileged instruction. CMS machines always run in problem state, so when they try and execute a Diagnose instruction they don¡¯t¡ Dave Sent: 19 November 2022 17:45 To:
By
Dave Wade
·
#4730
·
|
Re: Can a VM machine ...
Bob, Yes, it was my understanding a virtual machine can't talk to Hercules directly. What might be possible would be to add a new Diagnose instruction (say X'FFC' so as to not interfere with z/VM.
By
Bertram Moshier
·
#4729
·
|
Re: Can a VM machine ...
Gentles, That is why we have Hercules cp mod 10, the HCP command which allows a user ask CP to issue a DIAG 8 on the hardware it thinks it is running on. For many on here this will be Hercules, but if
By
Dave Wade
·
#4728
·
|
Re: Can a VM machine ...
"This parameter specifies whether a command issued through Diagnose 8 will be executed by Hercules as a Hercules commands or not." Joe
By
Joe Monk
·
#4727
·
|
Re: Can a VM machine ...
Dave, No, I'm talking about something like the STK4400. I was the lead programmer at Cray and also the VM programmer for making a STK4400 talk to both the Cray and IBM system. In the end, we supported
By
Bertram Moshier
·
#4726
·
|
Re: Can a VM machine ...
CMS (and other virtual machines) use Diagnose 8 to pass CP commands to CP for execution. Would those start going to Hercules instead? If so, that could cause some delightful explosions!! Bo Bolch
By
Bob Bolch
·
#4725
·
|
Re: Can a VM machine ...
Hello Joe, I can see how VM, itself, can talk to Hercule via Diag 8, but how would a guest OS or CMS program? Wouldn't a Diag 8 in a virtual machine go to VM as a CP command instead of to Hercules.
By
Bertram Moshier
·
#4724
·
|