| Index: client/virt/kvm_monitor.py
|
| diff --git a/client/tests/kvm/kvm_monitor.py b/client/virt/kvm_monitor.py
|
| similarity index 99%
|
| rename from client/tests/kvm/kvm_monitor.py
|
| rename to client/virt/kvm_monitor.py
|
| index 159c575a76a0341d3ce679a6285bb2652cfb1299..7934b071f1515db0ffd7e469d4fdd4769fbb5b85 100644
|
| --- a/client/tests/kvm/kvm_monitor.py
|
| +++ b/client/virt/kvm_monitor.py
|
| @@ -5,7 +5,7 @@ Interfaces to the QEMU monitor.
|
| """
|
|
|
| import socket, time, threading, logging, select
|
| -import kvm_utils
|
| +import virt_utils
|
| try:
|
| import json
|
| except ImportError:
|
| @@ -553,7 +553,7 @@ class QMPMonitor(Monitor):
|
| # Read any data that might be available
|
| self._read_objects()
|
| # Send command
|
| - id = kvm_utils.generate_random_string(8)
|
| + id = virt_utils.generate_random_string(8)
|
| self._send(json.dumps(self._build_cmd(cmd, args, id)) + "\n")
|
| # Read response
|
| r = self._get_response(id, timeout)
|
|
|