sh1nu11bi / sulley

Automatically exported from code.google.com/p/sulley
GNU General Public License v2.0
0 stars 0 forks source link

PATCH: vmcontrol.py on 64-bit Linux #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Executing default vmcontroly.py on Ubuntu 10.04 64-bit fails because of 
incorrect check for the "interactive" argument.

What version of the product are you using? On what operating system?
Ubuntu 10.04 64-bit

Please provide any additional information below.
I made the following changes and was able to properly run vmcontrol.py on 
64-bit Linux.  The script properly controlled the target VM (start, reset to 
snapshot, stop)

vmcontrol.py diff
340c340
<     if not os.name == "nt" and interactive:

---
>     if not os.name == "nt":

sulley/pedrpc.py diff  (is this related to 64-bitness?)
13,14c13
<         #self.NOLINGER         = struct.pack('HH', 1, 0)
<         self.NOLINGER         = struct.pack('ii', 1, 0)

---
>         self.NOLINGER         = struct.pack('HH', 1, 0)

Original issue reported on code.google.com by vulp...@gmail.com on 14 Feb 2012 at 3:15