Re: [Pyvix-discuss] possibly the same problem?
Status: Beta
Brought to you by:
woodsplitter
From: Eric B. <eri...@gm...> - 2006-08-02 22:38:37
|
A quick google found this post: http://www.vmware.com/community/thread.jspa?threadID=49892&tstart=0 Removing the VixHost_Disconnect seemed to fix that problem (but not the first one). Perhaps if you can confirm this, it might be worthwhile to remove that line for the time being until VMware fixes this bug. Eric On 8/2/06, Eric Buehl <eri...@gm...> wrote: > > It would appear as though VixHost_Disconnect is blocking and never > returning. I'm not sure if this is a symptom of the above problem or a > cause, but I figured I would mention it here in case you knew of any reason > why this might be happening. I don't see anything in the API spec that says > if it should block on unfinished jobs or something of that nature. > > Eric > > > On 8/2/06, Eric Buehl <eri...@gm...> wrote: > > > > Hello again.. > > > > I'm not sure if this is the same problem that you were describing or > > not, but here goes: > > > > When I try and run a program in a guest VM, it works the first time. > > Then, if I revert to a snapshot, and try to do it again, it hangs! It even > > blocks my ctrl+c signal. I have tried re-logging into the guest VM first, > > but that doesn't seem to help. Here is what I am trying: > > > > from pyvix import vix > > > > h = vix.Host() > > v = h.openVM("/var/lib/vmware/Virtual Machines/SpywareSandbox/Windows XP > > Professional.vmx") > > > > v.revertToSnapshot(v.rootSnapshots[0]) > > v.loginInGuest ("Administrator","pass") > > v.runProgramInGuest("c:\\windows\\notepad.exe","") > > > > v.revertToSnapshot(v.rootSnapshots[0]) > > v.loginInGuest("Administrator","pass") > > v.runProgramInGuest("c:\\windows\\notepad.exe","") > > > > > > It hangs before it gets to the second one. I have tried adding an > > artificial delay between the revertToSnapshot and the login/runprogram but > > it doesn't seem to work. I'm not sure if this is exactly the same as what > > you were describing, but it might be related. > > > > Eric > > > > |