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