Re: [Pyvix-discuss] possibly the same problem?
Status: Beta
Brought to you by:
woodsplitter
|
From: Eric B. <eri...@gm...> - 2006-08-02 22:27:44
|
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
>
|