Add internationalization support and improve functionality
authorMichal Novotny <mignov@gmail.com>
Tue, 28 Jun 2011 12:02:32 +0000 (14:02 +0200)
committerMichal Novotny <mignov@gmail.com>
Tue, 28 Jun 2011 12:02:32 +0000 (14:02 +0200)
Signed-off-by: Michal Novotny <minovotn@redhat.com>

30 files changed:
AUTHORS [new file with mode: 0644]
classes/database-file.php [new file with mode: 0644]
classes/database.php [new file with mode: 0644]
classes/language.php [new file with mode: 0644]
classes/libvirt.php [moved from libvirt.php with 96% similarity]
data/.htaccess [new file with mode: 0644]
data/test.dat [new file with mode: 0755]
functions.php [new file with mode: 0644]
html/links.html
index.php
init.php [new file with mode: 0644]
lang/cs.php [new file with mode: 0644]
logs/.htaccess [new file with mode: 0644]
logs/README [new file with mode: 0644]
logs/debug.log [deleted file]
logs/test.log [deleted file]
main-menu.php
menu.php
pages/details/boot-options.php
pages/details/disk-devices.php
pages/details/host-devices.php
pages/details/memory.php
pages/details/multimedia-devices.php
pages/details/network-devices.php
pages/details/overview.php
pages/details/processor.php
pages/details/screenshot.php
pages/domain-list.php
pages/info.php
pages/overview.php

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..2129cf9
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,13 @@
+php-virt-control tool
+=====================
+
+php-virt-control tool is maintained and developed by:
+
+       Michal Novotny <minovotn@redhat.com> (or <mignov@gmail.com>)
+
+The project is using libvirt-php extension for PHP to access the
+libvirt virtualization toolkit directly from the PHP scripts.
+
+If you would like to be listed in the contributors list
+feel free to clone this repository to your computer and
+add new features and post the patch to maintainer.
diff --git a/classes/database-file.php b/classes/database-file.php
new file mode 100644 (file)
index 0000000..818d1e6
--- /dev/null
@@ -0,0 +1,184 @@
+<?php
+       /*
+               Database file format is:
+
+               File-Version: 0.0.1
+               Tab: connections
+               START_TAB
+               name,hv,type,method,user,host,logfile
+               name1,qemu,0,,,,,
+               END_TAB
+       */
+       class DatabaseFile extends Database {
+               private $req_version = '0.0.1';
+               private $connections = array();
+               private $filename;
+               private $fp;
+
+               function DatabaseFile($data) {
+                       $this->filename = $data;
+                       $this->connect();
+               }
+
+               function connect() {
+                       $this->fp = fopen($this->filename, 'r');
+                       if (!$this->fp)
+                               return false;
+
+                       if (!$this->parse_data())
+                               return $this->err('connect', 'Error occured, possible bad file version');
+
+                       fclose($this->fp);
+
+                       return true;
+               }
+
+               function close() {
+                       return true;
+               }
+
+               /* Parse function */
+               function parse_data() {
+                       rewind($this->fp);
+
+                       $in_tab = false;
+                       $this->connections = array();
+                       while (!feof($this->fp)) {
+                               $s = Trim(fgets($this->fp, 1024));
+
+                               if (strpos('.'.$s, 'File-Version:')) {
+                                       $tmp = explode(':', $s);
+                                       if (Trim($tmp[1]) != $this->req_version)
+                                               return false;
+                               }
+                               else
+                               if (strpos('.'.$s, 'Tab:')) {
+                                       $tmp = explode(':', $s);
+                                       $tab_name = Trim($tmp[1]);
+                                       unset($tmp);
+                               }
+                               else
+                               if ($s == 'START_TAB') {
+                                       $in_tab = true;
+                               }
+                               else
+                               if ($s == 'END_TAB') {
+                                       $in_tab = false;
+                               }
+                               else
+                               if ($in_tab) {
+                                       if ($tab_name == 'connections') {
+                                               $tmp = explode(',', $s);
+                                               $e = array(
+                                                               'name'          => Trim($tmp[0]),
+                                                               'hypervisor'    => Trim($tmp[1]),
+                                                               'remote'        => Trim($tmp[2]),
+                                                               'method'        => Trim($tmp[3]),
+                                                               'user'          => Trim($tmp[4]),
+                                                               'host'          => Trim($tmp[5]),
+                                                               'logfile'       => Trim($tmp[6])
+                                                       );
+
+                                               $this->connections[] = $e;
+                                       }
+
+                                       //echo 'Tab name: '.$tab_name.' => '.$s.'<br />';
+                               }
+                       }
+
+                       return true;
+               }
+
+               /* Listing functions */
+               function list_connections($refresh=false) {
+                       if ($refresh)
+                               $this->connect();
+
+                       return $this->connections;
+               }
+
+               /* Add/edit/remove functions */
+               function add_connection($name, $hv, $type, $method, $user, $host, $logfile) {
+                       $fp = fopen($this->filename, 'w');
+                       if (!$fp)
+                               return false;
+
+                       fputs($fp, "File-Version: {$this->req_version}\n");
+                       fputs($fp, "Tab: connections\n");
+                       fputs($fp, "START_TAB\n");
+                       for ($i = 0; $i < sizeof($this->connections); $i++) {
+                               $name1 = $this->connections[$i]['name'];
+                               $hv1 = $this->connections[$i]['hypervisor'];
+                               $type1 = $this->connections[$i]['remote'];
+                               $method1 = $this->connections[$i]['method'];
+                               $user1 = $this->connections[$i]['user'];
+                               $host1 = $this->connections[$i]['host'];
+                               $logfile1 = $this->connections[$i]['logfile'];
+
+                               fputs($fp, "$name1,$hv1,$type1,$method1,$user1,$host1,$logfile1\n");
+                       }
+                       fputs($fp, "$name,$hv,$type,$method,$user,$host,$logfile\n");
+                       fputs($fp, "END_TAB\n");
+                       
+                       fclose($fp);
+
+                       return true;
+               }
+
+               function edit_connection($id, $name, $hv, $type, $method, $user, $host, $logfile) {
+                       $fp = fopen($this->filename, 'w');
+                       if (!$fp)
+                               return false;
+
+                       fputs($fp, "File-Version: {$this->req_version}\n");
+                       fputs($fp, "Tab: connections\n");
+                       fputs($fp, "START_TAB\n");
+                       for ($i = 0; $i < sizeof($this->connections); $i++) {
+                               $name1 = $this->connections[$i]['name'];
+                               $hv1 = $this->connections[$i]['hypervisor'];
+                               $type1 = $this->connections[$i]['remote'];
+                               $method1 = $this->connections[$i]['method'];
+                               $user1 = $this->connections[$i]['user'];
+                               $host1 = $this->connections[$i]['host'];
+                               $logfile1 = $this->connections[$i]['logfile'];
+
+                               if ($i + 1 != $id)
+                                       fputs($fp, "$name1,$hv1,$type1,$method1,$user1,$host1,$logfile1\n");
+                               else
+                                       fputs($fp, "$name,$hv,$type,$method,$user,$host,$logfile\n");
+                       }
+                       fputs($fp, "END_TAB\n");
+                       
+                       fclose($fp);
+
+                       return true;
+               }
+
+               function remove_connection($id) {
+                       $fp = fopen($this->filename, 'w');
+                       if (!$fp)
+                               return false;
+
+                       fputs($fp, "File-Version: {$this->req_version}\n");
+                       fputs($fp, "Tab: connections\n");
+                       fputs($fp, "START_TAB\n");
+                       for ($i = 0; $i < sizeof($this->connections); $i++) {
+                               $name1 = $this->connections[$i]['name'];
+                               $hv1 = $this->connections[$i]['hypervisor'];
+                               $type1 = $this->connections[$i]['remote'];
+                               $method1 = $this->connections[$i]['method'];
+                               $user1 = $this->connections[$i]['user'];
+                               $host1 = $this->connections[$i]['host'];
+                               $logfile1 = $this->connections[$i]['logfile'];
+
+                               if ($i + 1 != $id)
+                                       fputs($fp, "$name1,$hv1,$type1,$method1,$user1,$host1,$logfile1\n");
+                       }
+                       fputs($fp, "END_TAB\n");
+                       
+                       fclose($fp);
+
+                       return true;
+               }
+       }
+?>
diff --git a/classes/database.php b/classes/database.php
new file mode 100644 (file)
index 0000000..0d68e9d
--- /dev/null
@@ -0,0 +1,46 @@
+<?php
+       class Database {
+               var $unimpl = 'Function is not implemented';
+               var $log = array();
+
+               function Database($type) {
+                       $this->connect();
+               }
+
+               function err($func, $msg) {
+                       $this->log[] = array('func' => $func, 'msg' => $msg);
+
+                       return false;
+               }
+
+               function get_log() {
+                       return $this->log;
+               }
+
+               function connect() {
+                       return $this->err('connect', $this->unimpl);
+               }
+
+               function close() {
+                       return $this->err('close', $this->unimpl);
+               }
+
+               /* Listing functions */
+               function list_connections() {
+                       return $this->err('list_connections', $this->unimpl);
+               }
+
+               /* Add/remove/edit functions */
+               function add_connection($name, $hv, $type, $method, $user, $host, $logfile) {
+                       return $this->err('add_connection', $this->unimpl);
+               }
+
+               function edit_connection($id, $name, $hv, $type, $method, $user, $host, $logfile) {
+                       return $this->err('edit_connection', $this->unimpl);
+               }
+
+               function remove_connection($id) {
+                       return $this->err('remove_connection', $this->unimpl);
+               }
+       }
+?>
diff --git a/classes/language.php b/classes/language.php
new file mode 100644 (file)
index 0000000..a16f20d
--- /dev/null
@@ -0,0 +1,191 @@
+<?php
+       class Language {
+               var $trans = array();
+               private $lang_set = false;
+
+               function Language($lang=false) {
+                       $this->initlang();
+
+                       if ($lang && File_Exists('lang/'.$lang.'.php')) {
+                               include('lang/'.$lang.'.php');
+
+                               $this->lang_set = true;
+                               $this->trans = $trans;
+                       }
+               }
+
+               function get($ident) {
+                       return array_key_exists($ident, $this->trans) ? $this->trans[$ident] : false;
+               }
+
+               function initlang() {
+                       $trans = array(
+                                       'title_vmc' => 'Virtual Machine Controller',
+                                       'info'   => 'Information',
+                                       'for_php' => 'for PHP',
+                                       'conn_details' => 'Connection details',
+                                       'conn_uri' => 'Connection URI',
+                                       'conn_encrypted' => 'Encrypted',
+                                       'conn_secure' => 'Secure',
+                                       'hypervisor_limit' => 'Hypervisor limit',
+                                       'hostname' => 'Hostname',
+                                       'Yes' => 'Yes',
+                                       'No' => 'No',
+                                       'host_details' => 'Host details',
+                                       'model' => 'Model',
+                                       'pcpus' => 'CPUs/cores',
+                                       'cpu_speed' => 'CPU Speed',
+                                       'modinfo' => 'libvirt PHP module information',
+                                       'version' => 'Version',
+                                       'website' => 'Website',
+                                       'pool_not_running' => 'Not running',
+                                       'pool_building' => 'Building pool',
+                                       'pool_running' => 'Running',
+                                       'pool_running_deg' => 'Running degraded',
+                                       'pool_running_inac' => 'Running but inaccessible',
+                                       'unknown' => 'Unknown',
+                                       'dom_running' => 'running',
+                                       'dom_nostate' => 'no state',
+                                       'dom_blocked' => 'blocked',
+                                       'dom_paused' =>  'paused',
+                                       'dom_shutdown' => 'shutdown',
+                                       'dom_shutoff' => 'shutoff',
+                                       'dom_crashed' => 'crashed',
+                                       'cur_phys_size' => 'Current physical size',
+                                       'diskless' => 'diskless',
+                                       'changes' => 'Changes',
+                                       'btn_apply' => 'Apply changes',
+                                       'btn_discard' => 'Discard changes',
+                                       'ask_apply' => 'Do you really want to apply your changes?',
+                                       'ask_discard' => 'Do you really want to discard your changes?',
+                                       'general' => 'General',
+                                       'description' => 'Description',
+                                       'vm_details' => 'Machine details',
+                                       'host_pcpu_info' => 'Host processor information',
+                                       'max_per_guest' => 'Max. per guest',
+                                       'vm_vcpu_info' => 'Machine processor information',
+                                       'host_mem_info' => 'Host memory information',
+                                       'vm_mem_info' => 'Machine memory information',
+                                       'total_mem' => 'Total memory',
+                                       'mem_alloc_cur' => 'Current allocation',
+                                       'mem_alloc_max' => 'Max. allocation',
+                                       'vm_boot_opts' => 'Virtual machine boot options',
+                                       'vm_boot_dev1' => 'First boot device',
+                                       'vm_boot_dev2' => 'Second boot device',
+                                       'vm_boot_hdd' => 'Hard-drive',
+                                       'vm_boot_cd' => 'CD-ROM',
+                                       'vm_boot_fda' => 'Floppy',
+                                       'vm_boot_pxe' => 'Network boot (PXE)',
+                                       'vm_boot_none' => 'none',
+                                       'vm_disk_num' => 'Number of disks',
+                                       'vm_disk_storage' => 'Storage',
+                                       'vm_disk_type' => 'Driver type',
+                                       'vm_disk_dev' => 'Domain device',
+                                       'vm_disk_capacity' => 'Capacity',
+                                       'vm_disk_allocation' => 'Allocation',
+                                       'vm_disk_physical' => 'Physical disk size',
+                                       'vm_disk_remove' => 'Remove disk',
+                                       'vm_disk_add' => 'Add new disk',
+                                       'vm_disk_image' => 'Disk image',
+                                       'vm_disk_location' => 'Disk location',
+                                       'vm_disk_details' => 'Machine disk device details',
+                                       'vm_disk_askdel' => 'Are you sure you want to delete disk \'+disk+\' from the guest?',
+                                       'vm_disk_askadd' => 'Are you sure you want to add disk to the guest?',
+                                       'vm_network_title' => 'Machine network devices',
+                                       'vm_network_num' => 'Number of NICs',
+                                       'vm_network_nic' => 'Network interface card ',
+                                       'vm_network_mac' => 'MAC Address',
+                                       'vm_network_net' => 'Network',
+                                       'vm_network_type' => 'NIC Type',
+                                       'vm_network_add' => 'Add a new network interface',
+                                       'vm_network_del' => 'Remove network interface',
+                                       'vm_network_askadd' => 'Do you really want to add a new network interface card ?',
+                                       'vm_network_askdel' => 'Are you sure you want to delete interface with MAC address \'+mac+\' from the guest?',
+                                       'vm_title' => 'Virtual machine',
+                                       'vm_multimedia_title' => 'Machine multimedia devices',
+                                       'vm_multimedia_console' => 'Console',
+                                       'vm_multimedia_input' => 'Input device',
+                                       'vm_multimedia_graphics' => 'Graphics device',
+                                       'vm_multimedia_video' => 'Video device',
+                                       'details_readonly' => 'None (this page is currently read-only)',
+                                       'host_devices_title' => 'Machine host devices',
+                                       'host_devices' => 'Host devices',
+                                       'settings' => 'Settings',
+                                       'interval_sec' => 'Interval (sec)',
+                                       'change' => 'Change',
+                                       'menu_overview' => 'Overview',
+                                       'menu_processor' => 'Processor',
+                                       'menu_memory' => 'Memory',
+                                       'menu_boot' => 'Boot options',
+                                       'menu_disk' => 'Disk devices',
+                                       'menu_network' => 'Network devices',
+                                       'menu_multimedia' => 'Multimedia devices',
+                                       'menu_hostdev' => 'Host devices',
+                                       'menu_screenshot' => 'Screenshot',
+                                       'info_msg' => '<p>This is the virtual machine controller tool written in PHP language.'.
+                                                       'You can manage virtual machines (guests) on your machines using this web-based '.
+                                                       'controlling interface. For the navigation please use the upper menu and select '.
+                                                       'the domain from the <i>Domain list</i> link to see the virtual machines available '.
+                                                       'on the current machine. You can also see the information about the hypervisor '.
+                                                       'connection, host machine and libvirt PHP module (used by this system) on the '.
+                                                       '<i>Information</i> page.</p> '.
+                                                       '<p>The hypervisor on the machine running Apache with PHP is being probed automatically '.
+                                                       'if applicable however you can override the definition to connect to any other hypervisor '.
+                                                       'on remote machine. To achieve this you need to select a connection and change the host '.
+                                                       'using the form below. If you experience any issues (e.g. not working connectivity to '.
+                                                       'SSH-based remote host) please make sure you\'re having all the prerequisites met. For '.
+                                                       'more reference please check <a href="http://libvirt.org/auth.html" target="_blank">libvirt '.
+                                                       'authentication documentation.</a></p>',
+                                       'conns'  => 'Connections',
+                                       'connname' => 'Connection name',
+                                       'hypervisor' => 'Hypervisor',
+                                       'host_type' => 'Host type',
+                                       'type_local' => 'Local',
+                                       'type_remote' => 'Remote',
+                                       'host' => 'Host',
+                                       'logfile' => 'Log file',
+                                       'actions' => 'Actions',
+                                       'log_opts' => 'Logging options',
+                                       'host_opts' => 'Host options',
+                                       'save_conn' => 'Save connection',
+                                       'connect_new' => 'Connect to the new host',
+                                       'change_conn' => 'Change host connection',
+                                       'conn_method' => 'Connection method',
+                                       'user' => 'User name',
+                                       'conn_setup' => 'Setup connection',
+                                       'connect' => 'Connect',
+                                       'conn_remove' => 'Remove connection',
+                                       'empty_disable_log' => 'Leave empty to disable logging',
+                                       'empty_disable_save' => 'Leave empty not to save connection',
+                                       'conn_none' => 'No connection defined',
+                                       'hostdev_none' => 'None',
+                                       'name'   => 'Name',
+                                       'arch'   => 'Architecture',
+                                       'vcpus'  => 'vCPUs',
+                                       'mem'    => 'Memory',
+                                       'disk/s' => 'Disk(s)',
+                                       'nics'   => 'NICs',
+                                       'state'  => 'State',
+                                       'id'     => 'ID',
+                                       'msg'    => 'Message',
+                                       'dom_start' => 'Start domain',
+                                       'dom_stop'  => 'Stop domain',
+                                       'dom_destroy' => 'Destroy domain',
+                                       'dom_dumpxml' => 'Dump domain XML',
+                                       'dom_editxml' => 'Edit domain XML',
+                                       'dom_xmldesc' => 'Domain XML description',
+                                       'changed_uri' => 'Changed connection URI to',
+                                       'click_reload' => 'Click here to reload and connect using new URI',
+                                       'conn_saved' => 'Connection has been saved to the list.',
+                                       'conn_failed' => 'Connection has failed',
+                                       'domain_list' => 'Domain list',
+                                       'dom_screenshot' => 'Screenshot',
+                                       'dom_none' => 'No valid domain defined',
+                                       'main_menu' => 'Main menu',
+                                       'cannot_connect' => 'Cannot connect to hypervisor. Please change connection information.',
+                                       );
+
+                       $this->trans = $trans;
+               }
+       }
+?>
similarity index 96%
rename from libvirt.php
rename to classes/libvirt.php
index d3c6a01..8026107 100644 (file)
@@ -4,12 +4,14 @@
                private $last_error;
                private $allow_cached = true;
                private $dominfos = array();
+               private $lang_str;
 
-               function Libvirt($uri = false, $debug=false) {
+               function Libvirt($uri = false, $debug=false, $lang=false) {
                        if ($debug)
                                $this->set_logfile($debug);
                        if ($uri != false)
                                $this->connect($uri);
+                       $this->lang_str = $lang;
                }
 
                function _set_last_error()
                        return true;
                }
 
-               function generate_connection_uri($hv, $remote, $remote_method, $remote_username, $remote_hostname) {
-                       if ($hv == 'qemu')
-                               $append_type = 'system';
+               function generate_connection_uri($hv, $remote, $remote_method, $remote_username, $remote_hostname, $session=false) {
+                       if ($hv == 'qemu') {
+                               if ($session)
+                                       $append_type = 'session';
+                               else
+                                       $append_type = 'system';
+                       }
 
                        if (!$remote) {
                                if ($hv == 'xen')
                }
 
                function translate_storagepool_state($state) {
+                       $lang = new Language($this->lang_str);
+                       $ret = $lang->get('unknown');
                        switch ($state) {
-                               case 0: return 'Not running';
+                               case 0: $ret = $lang->get('pool_not_running');
                                        break;
-                               case 1: return 'Building pool';
+                               case 1: $ret = $lang->get('pool_building');
                                        break;
-                               case 2: return 'Running';
+                               case 2: $ret = $lang->get('pool_running');
                                        break;
-                               case 3: return 'Running degraded';
+                               case 3: $ret = $lang->get('pool_running_deg');
                                        break;
-                               case 4: return 'Running but inaccessible';
+                               case 4: $ret = $lang->get('pool_running_inac');
                                        break;
                        }
+                       unset($lang);
 
-                       return 'Unknown';
+                       return $ret;
                }
 
                function get_domains() {
                }
 
                function domain_state_translate($state) {
+                       $lang = new Language($this->lang_str);
+
+                       $ret = $lang->get('unknown');
                        switch ($state) {
-                               case VIR_DOMAIN_RUNNING:  return 'running';
-                               case VIR_DOMAIN_NOSTATE:  return 'nostate';
-                               case VIR_DOMAIN_BLOCKED:  return 'blocked';
-                               case VIR_DOMAIN_PAUSED:   return 'paused';
-                               case VIR_DOMAIN_SHUTDOWN: return 'shutdown';
-                               case VIR_DOMAIN_SHUTOFF:  return 'shutoff';
-                               case VIR_DOMAIN_CRASHED:  return 'crashed';
+                               case VIR_DOMAIN_RUNNING:  $ret = $lang->get('dom_running');
+                                                         break;
+                               case VIR_DOMAIN_NOSTATE:  $ret = $lang->get('dom_nostate');
+                                                         break;
+                               case VIR_DOMAIN_BLOCKED:  $ret = $lang->get('dom_blocked');
+                                                         break;
+                               case VIR_DOMAIN_PAUSED:   $ret = $lang->get('dom_paused');
+                                                         break;
+                               case VIR_DOMAIN_SHUTDOWN: $ret = $lang->get('dom_shutdown');
+                                                         break;
+                               case VIR_DOMAIN_SHUTOFF:  $ret = $lang->get('dom_shutoff');
+                                                         break;
+                               case VIR_DOMAIN_CRASHED:  $ret = $this->get('dom_crashed');
+                                                         break;
                        }
+                       unset($lang);
 
-                       return 'unknown';
+                       return $ret;
                }
 
                function domain_get_vnc_port($domain) {
diff --git a/data/.htaccess b/data/.htaccess
new file mode 100644 (file)
index 0000000..c98f5cf
--- /dev/null
@@ -0,0 +1,2 @@
+# Disallow web users access
+deny from all
diff --git a/data/test.dat b/data/test.dat
new file mode 100755 (executable)
index 0000000..39e0681
--- /dev/null
@@ -0,0 +1,6 @@
+File-Version: 0.0.1
+Tab: connections
+START_TAB
+Local QEMU,qemu,0,ssh,,,
+Local Xen,xen,0,ssh,,,
+END_TAB
diff --git a/functions.php b/functions.php
new file mode 100644 (file)
index 0000000..2216c55
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+       function getDBObject($uri) {
+               $tmp = explode(':', $uri);
+
+               if (Trim($tmp[0]) == 'file')
+                       return new DatabaseFile( Trim($tmp[1]) );
+
+               return false;
+       }
+?>
index ef5f044..a4f4b0a 100644 (file)
@@ -50,7 +50,7 @@
     </p>
         <ul>
         <li><a href="http://libvirt.org">Libvirt</a></li>
-        <li><a href="http://libvirt.org/php">Libvirt-php</a></li>
+        <li><a href="http://libvirt.org/php">Libvirt PHP bindings</a></li>
         <li><a href="http://www.php.net">PHP</a></li>
         </ul>
       </div>
index 8f89abc..99e4928 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,34 +1,30 @@
 <?php
-  define('PHPVIRTCONTROL_VERSION', '0.0.1');
-  define('PHPVIRTCONTROL_WEBSITE', 'http://minovotn.fedorapeople.org/php-virt-control');
+       require('init.php');
+       $uri = array_key_exists('connection_uri', $_SESSION) ? $_SESSION['connection_uri'] : 'null';
+       $lg = array_key_exists('connection_logging', $_SESSION) ? $_SESSION['connection_logging'] : false;
 
-  session_start();
-  require('libvirt.php');
-  $uri = array_key_exists('connection_uri', $_SESSION) ? $_SESSION['connection_uri'] : 'null';
-  $lg = array_key_exists('connection_logging', $_SESSION) ? $_SESSION['connection_logging'] : false;
+       if ($lg == '')
+               $lg = false;
 
-  if ($lg == '')
-       $lg = false;
+       if ($lg && LOGDIR)
+               $lg = LOGDIR.'/'.$lg;
 
-  if ($lg)
-    $lg = 'logs/'.$lg;
-
-  $errmsg = false;
-  $lv = new Libvirt($uri, $lg);
-  if ($lv->get_last_error()) {
-    $page = 'overview';
-    $name = false;
-    $errmsg = 'Cannot connect to hypervisor. Please change connection information.';
-  }
-  else {
-    $name = array_key_exists('name', $_GET) ? $_GET['name'] : false;
-    $res = $lv->get_domain_by_name($name);
-    $page = array_key_exists('page', $_GET) ? $_GET['page'] : 'overview';
-  }
+       $errmsg = false;
+       $lv = new Libvirt($uri, $lg, $lang_str);
+       if ($lv->get_last_error()) {
+               $page = 'overview';
+               $name = false;
+               $errmsg = $lang->get('cannot_connect');
+       }
+       else {
+               $name = array_key_exists('name', $_GET) ? $_GET['name'] : false;
+               $res = $lv->get_domain_by_name($name);
+               $page = array_key_exists('page', $_GET) ? $_GET['page'] : 'overview';
+       }
 ?>
 <html>
 <head>
- <title>php-virt-control - Virtual machine controller</title>
+ <title>php-virt-control - <?= $lang->get('title_vmc') ?></title>
  <link rel="STYLESHEET" type="text/css" href="manager.css"> 
 </head>
 <body>
     <div id="headerLogo"></div>
   </div>
 
-  <?php
+<?php
        include('main-menu.php');
        if ($name):
-  ?>
-       <h2 id="vm-name">Virtual machine <?= $name ?></h2>
-  <?php
+?>
+       <h2 id="vm-name"><?= $lang->get('vm_title').' '.$name ?></h2>
+<?php
        include('menu.php');
        if (File_Exists('./pages/details/'.$page.'.php'))
                include('./pages/details/'.$page.'.php');
@@ -53,6 +49,6 @@
        else
                include('error.php');
        endif;
-  ?>
+?>
 </body>
 </html>
diff --git a/init.php b/init.php
new file mode 100644 (file)
index 0000000..c81af00
--- /dev/null
+++ b/init.php
@@ -0,0 +1,25 @@
+<?php
+       $tmp = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
+       $tmp = explode('-', $tmp[0]);
+       $lang_str = $tmp[0];
+       unset($tmp);
+
+       session_start();
+       define('LOGDIR', getcwd().'/logs');
+       define('PHPVIRTCONTROL_VERSION', '0.0.1');
+       define('PHPVIRTCONTROL_WEBSITE', 'http://www.php-virt-control.org');
+
+       if (!File_Exists(LOGDIR)) {
+               if (!mkdir(LOGDIR, 0777))
+                       define(LOGDIR, false);
+       }
+
+       require('functions.php');
+       require('classes/libvirt.php');
+       require('classes/language.php');
+       require('classes/database.php');
+       require('classes/database-file.php');
+
+       $lang = new Language($lang_str);
+       $db = getDBObject('file:data/test.dat');
+?>
diff --git a/lang/cs.php b/lang/cs.php
new file mode 100644 (file)
index 0000000..394e9fe
--- /dev/null
@@ -0,0 +1,166 @@
+<?php
+               $trans = array(
+                                       'title_vmc' => 'Ovládací panel virtuálních strojů',
+                                       'for_php' => 'pro PHP',
+                                       'version' => 'Verze',
+                                       'website' => 'Stránka projektu',
+                                       'conn_details' => 'Detaily připojení',
+                                       'conn_uri' => 'URI připojení',
+                                       'conn_encrypted' => 'Šifrování',
+                                       'conn_secure' => 'Zabezpečení',
+                                       'hypervisor_limit' => 'Limit hypervisoru',
+                                       'hostname' => 'Jméno hostitele',
+                                       'Yes' => 'Ano',
+                                       'No' => 'Ne',
+                                       'host_details' => 'Detaily hostitele',
+                                       'model' => 'Model',
+                                       'pcpus' => 'Procesory/jádra',
+                                       'cpu_speed' => 'Rychlost CPU',
+                                       'modinfo' => 'Informace o PHP modulu (anglicky z PHPInfo)',
+                                       'pool_not_running' => 'Neaktivní',
+                                       'pool_building' => 'Staví se',
+                                       'pool_running' => 'Běží',
+                                       'pool_running_deg' => 'Běží degradovaně',
+                                       'pool_running_inac' => 'Běží, ale není dostupný',
+                                       'unknown' => 'Neznámo',
+                                       'dom_running' => 'spuštěno',
+                                       'dom_nostate' => 'beze stave',
+                                       'dom_blocked' => 'blokováno',
+                                       'dom_paused' =>  'zapauzovano',
+                                       'dom_shutdown' => 'vypnuto',
+                                       'dom_shutoff' => 'vypnuto',
+                                       'dom_crashed' => 'havarováno',
+                                       'cur_phys_size' => 'Aktuální fyzická velikost',
+                                       'diskless' => 'bez disku',
+                                       'changes' => 'Změny',
+                                       'btn_apply' => 'Použít změny',
+                                       'btn_discard' => 'Zahodit změny',
+                                       'ask_apply' => 'Skutečně si přejete použít změny?',
+                                       'ask_discard' => 'Skutečně si přejete zahodit změny?',
+                                       'general' => 'Obecné',
+                                       'description' => 'Popis',
+                                       'vm_details' => 'Detaily virtuálního stroje',
+                                       'host_pcpu_info' => 'Informace o procesorech hostitele',
+                                       'max_per_guest' => 'Maximum pro VM',
+                                       'vm_vcpu_info' => 'Informace o procesorech virtuálního stroje',
+                                       'menu_overview' => 'Přehled',
+                                       'menu_processor' => 'Procesor',
+                                       'menu_memory' => 'Paměť',
+                                       'menu_boot' => 'Bootování',
+                                       'menu_disk' => 'Disková zařízení',
+                                       'menu_network' => 'Síťová zařízení',
+                                       'menu_multimedia' => 'Multimediální zařízení',
+                                       'menu_hostdev' => 'Zařízení z hostitele',
+                                       'menu_screenshot' => 'Snímek obrazovky',
+                                       'host_mem_info' => 'Informace o paměti hostitele',
+                                       'vm_mem_info' => 'Informace o paměti virtuálního stroje',
+                                       'total_mem' => 'Celková paměť',
+                                       'mem_alloc_cur' => 'Aktuální alokace',
+                                       'mem_alloc_max' => 'Maximální alokace',
+                                       'vm_boot_opts' => 'Nastavení bootovací sekvence virtuálního stroje',
+                                       'vm_boot_dev1' => 'První boot zařízení',
+                                       'vm_boot_dev2' => 'Druhé boot zařízení',
+                                       'vm_boot_hdd' => 'Pevný disk',
+                                       'vm_boot_cd' => 'CD-ROM',
+                                       'vm_boot_fda' => 'Disketová mechanika',
+                                       'vm_boot_pxe' => 'Síťový boot z PXE',
+                                       'vm_boot_none' => 'žádné',
+                                       'vm_disk_num' => 'Počet disků',
+                                       'vm_disk_storage' => 'Úložiště',
+                                       'vm_disk_type' => 'Typ ovladače',
+                                       'vm_disk_dev' => 'Zařízení',
+                                       'vm_disk_capacity' => 'Kapacita',
+                                       'vm_disk_allocation' => 'Alokace',
+                                       'vm_disk_physical' => 'Fyzická velikost',
+                                       'vm_disk_remove' => 'Odstranit disk',
+                                       'vm_disk_add' => 'Přidat disk',
+                                       'vm_disk_details' => 'Detaily o diskových zařízeních',
+                                       'vm_disk_askdel' => 'Skutečně si přejete smazat disk \'+disk+\' z domény?',
+                                       'vm_disk_askadd' => 'Skutečně si přejete přidat disk do domény?',
+                                       'vm_disk_image' => 'Obraz disku',
+                                       'vm_disk_location' => 'Umístění',
+                                       'vm_network_title' => 'Síťová zařízení stroje',
+                                       'vm_network_num' => 'Počet karet',
+                                       'vm_network_nic' => 'Síťová karta ',
+                                       'vm_network_mac' => 'MAC Adresa',
+                                       'vm_network_net' => 'Síť',
+                                       'vm_network_type' => 'Typ karty',
+                                       'vm_network_add' => 'Přidat novou kartu',
+                                       'vm_network_del' => 'Odstranit kartu',
+                                       'vm_network_askadd' => 'Skutečně si přejete přidat síťovou kartu do domény?',
+                                       'vm_network_askdel' => 'Skutečně si přejete smazat síťovou kartu s MAC adresou \'+mac+\' z domény?',
+                                       'info'   => 'Informace',
+                                       'vm_title' => 'Virtuální stroj',
+                                       'vm_multimedia_title' => 'Multimediální zařízení stroje',
+                                       'vm_multimedia_console' => 'Konzole',
+                                       'vm_multimedia_input' => 'Vstupní zařízení',
+                                       'vm_multimedia_graphics' => 'Grafické zařízení',
+                                       'vm_multimedia_video' => 'Video zařízení',
+                                       'details_readonly' => 'žádné (tato stránka je zatím pouze pro čtení)',
+                                       'host_devices_title' => 'Zařízení předaná z hostitele',
+                                       'host_devices' => 'Zařízení z hostitele',
+                                       'hostdev_none' => 'žádná',
+                                       'info_msg' => '<p>Toto je ovládací panel virtuálních strojů napsaný v jazyce PHP. Můžete jej '.
+                                                       'využít pro ovládání Vašich virtuálních strojů přes libvirt přímo z webového '.
+                                                       'rozhraní. Pro navigaci prosím použijte horní menu a vyberte doménu (virtuální stroj) '.
+                                                       'ze <i>Seznamu domén</i>. V seznamu domén uvidíte veškeré domény, které máte přístupné '.
+                                                       'přes libvirt. Pro správnou funkci potřebujete libvirt PHP modul nainstalovaný ve Vašem '.
+                                                       'webovém serveru. Pro více informací o připojení, hostitelském stroji a verzi modulu '.
+                                                       'prosím použijte odkaz <i>Informace</i> v horním menu.'.
+                                                       '<p>Hypervisor na hostitelském stroji je detekován automaticky, ačkoli je možné definici změnit '.
+                                                       'a zvolit si jiné nastavení, na který stroj se chcete připojit. Pro připojení se na vzdálený '.
+                                                       'stroj prosím použijte formulář níže. V případě problémů (např. nefunkční konektivita na vzdálený '.
+                                                       'systém za použití protokolu SSH) prosím zkontrolujte, zda máte všechny předpoklady pro připojení '.
+                                                       'splněny. Pro více informací podívejte na <a href="http://libvirt.org/auth.html" target="_blank">libvirt '.
+                                                        'authentication documentation.</a> (anglicky)</p>',
+                                       'conns'  => 'Připojení',
+                                       'connname' => 'Název připojení',
+                                       'hypervisor' => 'Hypervisor',
+                                       'host_type' => 'Typ hostitele',
+                                       'type_local' => 'Lokální',
+                                       'type_remote' => 'Vzdálený',
+                                       'host' => 'Hostitel',
+                                       'logfile' => 'Soubor protokolu',
+                                       'actions' => 'Akce',
+                                       'log_opts' => 'Nastavení protokolování',
+                                       'host_opts' => 'Nastavení hostitele',
+                                       'save_conn' => 'Uložení připojení',
+                                       'connect_new' => 'Připojit na hostitele',
+                                       'change_conn' => 'Změnit nastavení připojení',
+                                       'conn_method' => 'Metoda připojení',
+                                       'user' => 'Uživatelské jméno',
+                                       'conn_setup' => 'Nastavení připojení',
+                                       'connect' => 'Připojit se',
+                                       'conn_remove' => 'Odebrat připojení',
+                                       'empty_disable_log' => 'Ponechte prázdné pro zakázání protokolování',
+                                       'empty_disable_save' => 'Ponechte prázdné pokud si nepřejete uložit připojení',
+                                       'conn_none' => 'Žádné připojení nebylo zatím definováno',
+                                       'name'   => 'Název',
+                                       'arch'   => 'Architektura',
+                                       'vcpus'  => 'Procesory',
+                                       'mem'    => 'Paměť',
+                                       'disk/s' => 'Disk(y)',
+                                       'nics'   => 'Síťové karty',
+                                       'state'  => 'Stav',
+                                       'id'     => 'ID',
+                                       'msg'    => 'Zpráva',
+                                       'dom_start' => 'Spustit doménu',
+                                       'dom_stop'  => 'Zastavit doménu',
+                                       'dom_destroy' => 'Zničit doménu',
+                                       'dom_dumpxml' => 'Zobrazit XML konfiguraci domény',
+                                       'dom_editxml' => 'Upravit XML konfiguraci domény',
+                                       'dom_xmldesc' => 'XML konfigurace domény',
+                                       'changed_uri' => 'Změněno nastavení připojovacího řetězce URI na ',
+                                       'click_reload' => 'Klikněte zde pro obnovení a připojení pomocí nového připojovacího řetězce',
+                                       'conn_saved' => 'Připojení bylo uloženo',
+                                       'conn_failed' => 'Připojení selhalo',
+                                       'domain_list' => 'Seznam domén',
+                                       'dom_screenshot' => 'Snímek obrazovky',
+                                       'settings' => 'Nastavení',
+                                       'interval_sec' => 'Interval (sekund)',
+                                       'change' => 'Změnit',
+                                       'dom_none' => 'Žádná platná doména zde není definovaná',
+                                       'main_menu' => 'Hlavní menu',
+                                       'cannot_connect' => 'Nezdařilo se připojení k hypervisoru. Prosím zkontrolujte nastavení.',
+                                       );
+?>
diff --git a/logs/.htaccess b/logs/.htaccess
new file mode 100644 (file)
index 0000000..c98f5cf
--- /dev/null
@@ -0,0 +1,2 @@
+# Disallow web users access
+deny from all
diff --git a/logs/README b/logs/README
new file mode 100644 (file)
index 0000000..bfa638f
--- /dev/null
@@ -0,0 +1,3 @@
+This file contains the placeholder for log files useful for libvirt-php debugging.
+Please do *not* remove this directory in order to leave the option to enable debug
+logging enabled.
diff --git a/logs/debug.log b/logs/debug.log
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/logs/test.log b/logs/test.log
deleted file mode 100644 (file)
index a1ae016..0000000
+++ /dev/null
@@ -1,1090 +0,0 @@
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb33ebc08
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33ebc08) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebc08) returned 0
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb33ebc08) returned 0
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb34866c0
-[2011-06-24 16:16:14 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebc08 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:14 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ebc08) completed successfully
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34866c0) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34866c0) returned 0
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb33eb698
-[2011-06-24 16:16:14 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34866c0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:14 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34866c0) completed successfully
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33eb698) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb698) returned 0
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb33ebc08
-[2011-06-24 16:16:14 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb698 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:14 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb698) completed successfully
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33ebc08) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebc08) returned 0
-[2011-06-24 16:16:14 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb33ebc08) returned 103
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb34b9a00
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebc08 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ebc08) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34b9a00) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34b9a00) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb34c0c80
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34b9a00 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34b9a00) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34c0c80) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34c0c80) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb34ce558
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34c0c80 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34c0c80) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34ce558) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34ce558) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb34dc5d0
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34ce558 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34ce558) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34dc5d0) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34dc5d0) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb3253fb0
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34dc5d0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34dc5d0) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3253fb0) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3253fb0) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb3253fb0) returned 106
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb32673d0
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3253fb0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3253fb0) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32673d0) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32673d0) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb3269080
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32673d0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32673d0) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3269080) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3269080) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb327f978
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3269080 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3269080) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb327f978) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb327f978) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb3294830
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb327f978 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb327f978) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3294830) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3294830) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb3281aa8
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3294830 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3294830) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3281aa8) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3281aa8) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb32a46c0
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3281aa8 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3281aa8) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32a46c0) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:16:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32a46c0) returned 0
-[2011-06-24 16:16:15 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb32a46c0
-[2011-06-24 16:16:15 libvirt-php/core]: free_resource: virDomainFree(0xb32a46c0) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:16:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32a46c0 (conn 0x2a202d0) is not allocated
-[2011-06-24 16:17:07 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:17:07 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebd78
-[2011-06-24 16:17:07 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebd78) returned 0
-[2011-06-24 16:17:07 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33ebd78) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:17:07 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ec0f8
-[2011-06-24 16:17:07 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ec0f8) returned 0
-[2011-06-24 16:17:07 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ec0f8 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:07 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ec0f8) completed successfully
-[2011-06-24 16:17:07 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33ebd78
-[2011-06-24 16:17:07 libvirt-php/core]: free_resource: virDomainFree(0xb33ebd78) completed successfully
-[2011-06-24 16:17:07 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:17:07 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebd78 (conn 0x2a25380) is not allocated
-[2011-06-24 16:17:09 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:17:09 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebd78
-[2011-06-24 16:17:09 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebd78) returned 0
-[2011-06-24 16:17:09 libvirt-php/core]: libvirt_connect_get_information: Got connection URI of xen+ssh://root@lws...
-[2011-06-24 16:17:09 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3488698
-[2011-06-24 16:17:09 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3488698) returned 0
-[2011-06-24 16:17:09 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3488698 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:09 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3488698) completed successfully
-[2011-06-24 16:17:09 libvirt-php/core]: libvirt_node_get_info: virNodeGetInfo returned 0
-[2011-06-24 16:17:09 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33ebd78
-[2011-06-24 16:17:09 libvirt-php/core]: free_resource: virDomainFree(0xb33ebd78) completed successfully
-[2011-06-24 16:17:09 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:17:09 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebd78 (conn 0x2a1f7f8) is not allocated
-[2011-06-24 16:17:12 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:17:12 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebd78
-[2011-06-24 16:17:12 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebd78) returned 0
-[2011-06-24 16:17:12 libvirt-php/core]: libvirt_node_get_info: virNodeGetInfo returned 0
-[2011-06-24 16:17:12 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3488538
-[2011-06-24 16:17:12 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3488538) returned 0
-[2011-06-24 16:17:12 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3488538 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:12 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3488538) completed successfully
-[2011-06-24 16:17:12 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33ebd78
-[2011-06-24 16:17:12 libvirt-php/core]: free_resource: virDomainFree(0xb33ebd78) completed successfully
-[2011-06-24 16:17:12 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:17:12 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebd78 (conn 0x2a1f2e4) is not allocated
-[2011-06-24 16:17:15 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebe00
-[2011-06-24 16:17:15 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebed0
-[2011-06-24 16:17:15 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebed0) returned 0
-[2011-06-24 16:17:15 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33ebed0
-[2011-06-24 16:17:15 libvirt-php/core]: free_resource: virDomainFree(0xb33ebed0) completed successfully
-[2011-06-24 16:17:15 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebe00) completed successfully
-[2011-06-24 16:17:15 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebed0 (conn 0x2a1fb70) is not allocated
-[2011-06-24 16:17:16 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:17:16 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebd78
-[2011-06-24 16:17:16 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebd78) returned 0
-[2011-06-24 16:17:16 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ec128
-[2011-06-24 16:17:16 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ec128 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:16 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ec128) completed successfully
-[2011-06-24 16:17:16 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb348d170
-[2011-06-24 16:17:16 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb348d170 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:16 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb348d170) completed successfully
-[2011-06-24 16:17:16 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33ebd78
-[2011-06-24 16:17:16 libvirt-php/core]: free_resource: virDomainFree(0xb33ebd78) completed successfully
-[2011-06-24 16:17:16 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:17:16 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebd78 (conn 0x2a33a80) is not allocated
-[2011-06-24 16:17:17 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:17:17 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebd78
-[2011-06-24 16:17:17 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebd78) returned 0
-[2011-06-24 16:17:17 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3488388
-[2011-06-24 16:17:17 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3488388 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:17 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3488388) completed successfully
-[2011-06-24 16:17:17 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33ebd78
-[2011-06-24 16:17:17 libvirt-php/core]: free_resource: virDomainFree(0xb33ebd78) completed successfully
-[2011-06-24 16:17:17 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:17:17 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebd78 (conn 0x2a20080) is not allocated
-[2011-06-24 16:17:20 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:17:20 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebd78
-[2011-06-24 16:17:20 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebd78) returned 0
-[2011-06-24 16:17:20 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebb88
-[2011-06-24 16:17:20 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebb88 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:20 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ebb88) completed successfully
-[2011-06-24 16:17:20 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb348b808
-[2011-06-24 16:17:20 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb348b808 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:17:20 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb348b808) completed successfully
-[2011-06-24 16:17:20 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33ebd78
-[2011-06-24 16:17:20 libvirt-php/core]: free_resource: virDomainFree(0xb33ebd78) completed successfully
-[2011-06-24 16:17:20 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:17:20 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebd78 (conn 0x2a1f158) is not allocated
-[2011-06-24 16:17:21 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33eb7d8
-[2011-06-24 16:17:21 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb32bfc68
-[2011-06-24 16:17:21 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32bfc68) returned 0
-[2011-06-24 16:17:21 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb9a0
-[2011-06-24 16:17:21 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb9a0 (conn 0xb33eb7d8) is allocated
-[2011-06-24 16:17:21 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb9a0) completed successfully
-[2011-06-24 16:17:21 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb32bfc68
-[2011-06-24 16:17:21 libvirt-php/core]: free_resource: virDomainFree(0xb32bfc68) completed successfully
-[2011-06-24 16:17:21 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33eb7d8) completed successfully
-[2011-06-24 16:17:21 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32bfc68 (conn 0x2a1f2d8) is not allocated
-[2011-06-24 16:17:22 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb3495e60
-[2011-06-24 16:17:22 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3495f88
-[2011-06-24 16:17:22 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3495f88) returned 0
-[2011-06-24 16:17:22 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb3495f88
-[2011-06-24 16:17:22 libvirt-php/core]: free_resource: virDomainFree(0xb3495f88) completed successfully
-[2011-06-24 16:17:22 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb3495e60) completed successfully
-[2011-06-24 16:17:22 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3495f88 (conn 0x2a20958) is not allocated
-[2011-06-24 16:17:23 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33eb900
-[2011-06-24 16:17:23 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb708
-[2011-06-24 16:17:23 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb708) returned 0
-[2011-06-24 16:17:23 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb34ca858
-[2011-06-24 16:17:23 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34ca858 (conn 0xb33eb900) is allocated
-[2011-06-24 16:17:23 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34ca858) completed successfully
-[2011-06-24 16:17:23 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb33eb708
-[2011-06-24 16:17:23 libvirt-php/core]: free_resource: virDomainFree(0xb33eb708) completed successfully
-[2011-06-24 16:17:23 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33eb900) completed successfully
-[2011-06-24 16:17:23 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb708 (conn 0x2a1f3d4) is not allocated
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33eb708
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb33eb4a8
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33eb4a8) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb4a8) returned 0
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb33eb4a8) returned 0
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb34d2ca8
-[2011-06-24 16:17:25 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb4a8 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:25 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb4a8) completed successfully
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34d2ca8) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34d2ca8) returned 0
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb33eb330
-[2011-06-24 16:17:25 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34d2ca8 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:25 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34d2ca8) completed successfully
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33eb330) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb330) returned 0
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb3455680
-[2011-06-24 16:17:25 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb330 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:25 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb330) completed successfully
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3455680) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3455680) returned 0
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb3455680) returned 103
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb34ca728
-[2011-06-24 16:17:25 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3455680 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:25 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3455680) completed successfully
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34ca728) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:17:25 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34ca728) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb346d9b0
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34ca728 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34ca728) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb346d9b0) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb346d9b0) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb34ca728
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb346d9b0 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb346d9b0) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34ca728) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34ca728) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb34857c8
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34ca728 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34ca728) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34857c8) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34857c8) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb3257918
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34857c8 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34857c8) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3257918) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3257918) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb3257918) returned 106
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb3267838
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3257918 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3257918) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3267838) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3267838) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb32694e8
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3267838 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3267838) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32694e8) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32694e8) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb327fde0
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32694e8 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32694e8) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb327fde0) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb327fde0) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb3294c98
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb327fde0 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb327fde0) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3294c98) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3294c98) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb3281f10
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3294c98 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3294c98) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3281f10) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3281f10) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb32a4b28
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3281f10 (conn 0xb33eb708) is allocated
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3281f10) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32a4b28) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:17:26 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32a4b28) returned 0
-[2011-06-24 16:17:26 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb32a4b28
-[2011-06-24 16:17:26 libvirt-php/core]: free_resource: virDomainFree(0xb32a4b28) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33eb708) completed successfully
-[2011-06-24 16:17:26 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32a4b28 (conn 0x2a20228) is not allocated
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb34de1a8
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb354abd0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3341210
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3341210) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3341210 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3341210) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb354abd0 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb354abd0) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3341950
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_xml_desc: Getting the XML for domain 0xb3341950 (xPath = 2)
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3341950 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3341950) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb333f740
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb333f740) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb333f740) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb333f740) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3343298
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb333f740 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb333f740) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3343298) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3343298) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb3452ee8
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3343298 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3343298) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3452ee8) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3452ee8) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb34603b0
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3452ee8 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3452ee8) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34603b0) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34603b0) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb34603b0) returned 103
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb333f1b8
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34603b0 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34603b0) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb333f1b8) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb333f1b8) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb34740f0
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb333f1b8 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb333f1b8) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34740f0) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34740f0) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb3479eb8
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34740f0 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34740f0) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3479eb8) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3479eb8) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb348fb68
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3479eb8 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3479eb8) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb348fb68) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb348fb68) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb349abb0
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb348fb68 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb348fb68) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb349abb0) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb349abb0) returned 0
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb349abb0) returned 106
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb3479eb8
-[2011-06-24 16:17:28 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb349abb0 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:28 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb349abb0) completed successfully
-[2011-06-24 16:17:28 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3479eb8) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3479eb8) returned 0
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb349f550
-[2011-06-24 16:17:29 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3479eb8 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:29 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3479eb8) completed successfully
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb349f550) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb349f550) returned 0
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb34c5108
-[2011-06-24 16:17:29 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb349f550 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:29 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb349f550) completed successfully
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34c5108) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34c5108) returned 0
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb315f228
-[2011-06-24 16:17:29 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34c5108 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:29 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34c5108) completed successfully
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb315f228) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb315f228) returned 0
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb34605c8
-[2011-06-24 16:17:29 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb315f228 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:29 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb315f228) completed successfully
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34605c8) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34605c8) returned 0
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb3154cb8
-[2011-06-24 16:17:29 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34605c8 (conn 0xb34de1a8) is allocated
-[2011-06-24 16:17:29 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34605c8) completed successfully
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3154cb8) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:17:29 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3154cb8) returned 0
-[2011-06-24 16:17:29 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb3154cb8
-[2011-06-24 16:17:29 libvirt-php/core]: free_resource: virDomainFree(0xb3154cb8) completed successfully
-[2011-06-24 16:17:29 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb34de1a8) completed successfully
-[2011-06-24 16:17:29 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3154cb8 (conn 0xb3266630) is not allocated
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33eb708
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3497dd8
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3497c88
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3497c88) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3497c88 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3497c88) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3497dd8 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3497dd8) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3497d60
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_xml_desc: Getting the XML for domain 0xb3497d60 (xPath = 2)
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3497d60 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3497d60) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb33eb4f0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33eb4f0) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb4f0) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb33eb4f0) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3498e78
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb4f0 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb4f0) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3498e78) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3498e78) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb344cd60
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3498e78 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3498e78) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb344cd60) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb344cd60) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb3497dd8
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb344cd60 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb344cd60) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3497dd8) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3497dd8) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb3497dd8) returned 103
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb3473be0
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3497dd8 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3497dd8) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3473be0) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3473be0) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb3481790
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3473be0 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3473be0) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3481790) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3481790) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb320e138
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3481790 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3481790) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb320e138) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb320e138) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb321a788
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb320e138 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb320e138) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb321a788) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb321a788) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb3221b78
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb321a788 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb321a788) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3221b78) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3221b78) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb3221b78) returned 106
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb3498e78
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3221b78 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3221b78) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3498e78) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3498e78) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb3220310
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3498e78 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3498e78) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3220310) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3220310) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb3257da8
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3220310 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3220310) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3257da8) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3257da8) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb325dbe0
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3257da8 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3257da8) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb325dbe0) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb325dbe0) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb3220310
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb325dbe0 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb325dbe0) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3220310) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3220310) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb32684c8
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3220310 (conn 0xb33eb708) is allocated
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3220310) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32684c8) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:18:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32684c8) returned 0
-[2011-06-24 16:18:18 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb32684c8
-[2011-06-24 16:18:18 libvirt-php/core]: free_resource: virDomainFree(0xb32684c8) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33eb708) completed successfully
-[2011-06-24 16:18:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32684c8 (conn 0xb34d3684) is not allocated
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc38
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb345a6b8
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebec8
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33ebec8) returned 0
-[2011-06-24 16:18:47 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebec8 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:47 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ebec8) completed successfully
-[2011-06-24 16:18:47 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb345a6b8 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:47 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb345a6b8) completed successfully
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb349af58
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_get_xml_desc: Getting the XML for domain 0xb349af58 (xPath = 2)
-[2011-06-24 16:18:47 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb349af58 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:47 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb349af58) completed successfully
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb349b228
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb349b228) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb349b228) returned 0
-[2011-06-24 16:18:47 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb349b228) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb34627a8
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb349b228 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb349b228) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34627a8) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34627a8) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb3461ab8
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34627a8 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34627a8) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3461ab8) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3461ab8) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb347bfd8
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3461ab8 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3461ab8) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb347bfd8) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb347bfd8) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb347bfd8) returned 103
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb32941d0
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb347bfd8 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb347bfd8) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32941d0) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32941d0) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb329d168
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32941d0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32941d0) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb329d168) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb329d168) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb32ac500
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb329d168 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb329d168) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32ac500) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32ac500) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb32b7400
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32ac500 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32ac500) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32b7400) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32b7400) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb32c3740
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32b7400 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32b7400) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32c3740) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32c3740) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb32c3740) returned 106
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb32c7400
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32c3740 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32c3740) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32c7400) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32c7400) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb32ddfb0
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32c7400 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32c7400) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32ddfb0) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32ddfb0) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb32f5310
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32ddfb0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32ddfb0) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32f5310) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32f5310) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb32f95d0
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32f5310 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32f5310) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32f95d0) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32f95d0) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb32ecab0
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32f95d0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32f95d0) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32ecab0) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32ecab0) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb3311798
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32ecab0 (conn 0xb33ebc38) is allocated
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32ecab0) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3311798) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:18:48 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3311798) returned 0
-[2011-06-24 16:18:48 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb3311798
-[2011-06-24 16:18:48 libvirt-php/core]: free_resource: virDomainFree(0xb3311798) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc38) completed successfully
-[2011-06-24 16:18:48 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3311798 (conn 0xb34d1c94) is not allocated
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebc20
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebbc8
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb34cc3e8
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34cc3e8) returned 0
-[2011-06-24 16:19:03 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34cc3e8 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:03 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34cc3e8) completed successfully
-[2011-06-24 16:19:03 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebbc8 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:03 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ebbc8) completed successfully
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33ebcf8
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_xml_desc: Getting the XML for domain 0xb33ebcf8 (xPath = 2)
-[2011-06-24 16:19:03 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33ebcf8 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:03 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33ebcf8) completed successfully
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb34ccc88
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34ccc88) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34ccc88) returned 0
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb34ccc88) returned 0
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb34d4e30
-[2011-06-24 16:19:03 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34ccc88 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:03 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34ccc88) completed successfully
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34d4e30) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34d4e30) returned 0
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb344ba18
-[2011-06-24 16:19:03 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34d4e30 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:03 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34d4e30) completed successfully
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb344ba18) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:19:03 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb344ba18) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb34d4e30
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb344ba18 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb344ba18) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34d4e30) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34d4e30) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb34d4e30) returned 103
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb346e090
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34d4e30 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34d4e30) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb346e090) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb346e090) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb3473300
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb346e090 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb346e090) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3473300) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3473300) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb3477f38
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3473300 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3473300) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3477f38) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3477f38) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb320cfc0
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3477f38 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3477f38) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb320cfc0) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb320cfc0) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb3215650
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb320cfc0 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb320cfc0) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3215650) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3215650) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb3215650) returned 106
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb322a248
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3215650 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3215650) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb322a248) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb322a248) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb3235e10
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb322a248 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb322a248) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3235e10) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3235e10) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb324ba20
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3235e10 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3235e10) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb324ba20) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb324ba20) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb3256698
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb324ba20 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb324ba20) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3256698) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3256698) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb325ecf8
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3256698 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3256698) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb325ecf8) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb325ecf8) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb326e8f0
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb325ecf8 (conn 0xb33ebc20) is allocated
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb325ecf8) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb326e8f0) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:19:04 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb326e8f0) returned 0
-[2011-06-24 16:19:04 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb326e8f0
-[2011-06-24 16:19:04 libvirt-php/core]: free_resource: virDomainFree(0xb326e8f0) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc20) completed successfully
-[2011-06-24 16:19:04 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb326e8f0 (conn 0xb34c1b0c) is not allocated
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb34df1a0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb498
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb3a0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb3a0) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb3a0 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb3a0) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb498 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb498) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb3c8
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_xml_desc: Getting the XML for domain 0xb33eb3c8 (xPath = 2)
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb3c8 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb3c8) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb34df350
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34df350) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34df350) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb34df350) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb344e888
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34df350 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34df350) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb344e888) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb344e888) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb34df350
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb344e888 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb344e888) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34df350) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34df350) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb346cde8
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34df350 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34df350) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb346cde8) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb346cde8) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb346cde8) returned 103
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb347a8c0
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb346cde8 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb346cde8) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb347a8c0) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb347a8c0) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb3487d40
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb347a8c0 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb347a8c0) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3487d40) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3487d40) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb34df350
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3487d40 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3487d40) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34df350) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34df350) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb32aa420
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34df350 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34df350) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32aa420) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32aa420) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb32b46f8
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32aa420 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32aa420) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32b46f8) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32b46f8) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb32b46f8) returned 106
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb32b8300
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32b46f8 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32b46f8) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32b8300) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32b8300) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb34df350
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32b8300 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32b8300) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34df350) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34df350) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb32e2f68
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34df350 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34df350) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32e2f68) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32e2f68) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb32edce8
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32e2f68 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32e2f68) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32edce8) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32edce8) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb34df350
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32edce8 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32edce8) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb34df350) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb34df350) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb3301ff0
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34df350 (conn 0xb34df1a0) is allocated
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34df350) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3301ff0) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:19:36 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3301ff0) returned 0
-[2011-06-24 16:19:36 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb3301ff0
-[2011-06-24 16:19:36 libvirt-php/core]: free_resource: virDomainFree(0xb3301ff0) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb34df1a0) completed successfully
-[2011-06-24 16:19:36 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3301ff0 (conn 0xb34bf00c) is not allocated
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb3498b98
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb688
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb570
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb570) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb570 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb570) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb688 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb688) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb33eb598
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_xml_desc: Getting the XML for domain 0xb33eb598 (xPath = 2)
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb598 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb598) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb349ca18
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb349ca18) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb349ca18) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb349ca18) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb349c818
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb349ca18 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb349ca18) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb349c818) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb349c818) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb3451fd0
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb349c818 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb349c818) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3451fd0) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3451fd0) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb33eb688
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3451fd0 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3451fd0) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33eb688) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb688) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb33eb688) returned 103
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb3472db0
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb688 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb688) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3472db0) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3472db0) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb347f3f8
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3472db0 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3472db0) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb347f3f8) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb347f3f8) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb320d680
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb347f3f8 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb347f3f8) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb320d680) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb320d680) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb321c950
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb320d680 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb320d680) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb321c950) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb321c950) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb3221eb0
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb321c950 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb321c950) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3221eb0) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3221eb0) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb3221eb0) returned 106
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb33eb688
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3221eb0 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3221eb0) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33eb688) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33eb688) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb322d988
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33eb688 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33eb688) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb322d988) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb322d988) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb3258b20
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb322d988 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb322d988) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3258b20) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3258b20) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb3233bc8
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3258b20 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3258b20) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3233bc8) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3233bc8) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb3270090
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3233bc8 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3233bc8) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3270090) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3270090) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb3253f38
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3270090 (conn 0xb3498b98) is allocated
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3270090) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3253f38) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:19:49 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3253f38) returned 0
-[2011-06-24 16:19:49 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb3253f38
-[2011-06-24 16:19:49 libvirt-php/core]: free_resource: virDomainFree(0xb3253f38) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb3498b98) completed successfully
-[2011-06-24 16:19:49 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3253f38 (conn 0xb34d35dc) is not allocated
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33eb770
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb34884f8
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb32c0080
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32c0080) returned 0
-[2011-06-24 16:20:17 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32c0080 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:17 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32c0080) completed successfully
-[2011-06-24 16:20:17 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb34884f8 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:17 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb34884f8) completed successfully
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb3488408
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_domain_get_xml_desc: Getting the XML for domain 0xb3488408 (xPath = 2)
-[2011-06-24 16:20:17 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3488408 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:17 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3488408) completed successfully
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_list_domains: Found 3 domains
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_list_domains: virConnectListDomains returned 3 domains
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_list_domains: Found running domain Domain-0 with ID = 0
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_list_domains: Found running domain hvm_6x64 with ID = 103
-[2011-06-24 16:20:17 libvirt-php/core]: libvirt_list_domains: Found running domain rhel55-64fv with ID = 106
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: virConnectNumOfDefinedDomains returned 15 domains
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: virConnectListDefinedDomains returned 12 domains
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain cdrom
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel49
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-hvm32
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32pv
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain RHEL6
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel60-64pv
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-64pv
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain winxp-32fv
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel56s5-64fv
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel55-32fv
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain rhel6.1-pv64
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_list_domains: Found inactive domain pv_6x64
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'Domain-0', returning 0xb32bff78
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32bff78) returned 0 (00000000-0000-0000-0000-000000000000)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32bff78) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb32bff78) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'RHEL6', returning 0xb32bfd90
-[2011-06-24 16:20:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32bff78 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32bff78) completed successfully
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32bfd90) returned 0 (ea0a3a0e-6bdf-f0cf-a9f9-8f6db3ee11ec)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32bfd90) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'cdrom', returning 0xb33143e0
-[2011-06-24 16:20:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32bfd90 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32bfd90) completed successfully
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33143e0) returned 0 (b36e6e3e-00dd-0b55-0955-cb4527b6376c)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33143e0) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'hvm_6x64', returning 0xb32bfd90
-[2011-06-24 16:20:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33143e0 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33143e0) completed successfully
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb32bfd90) returned 0 (51729ef4-0287-afea-842d-43281247eb63)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb32bfd90) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb32bfd90) returned 103
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'pv_6x64', returning 0xb3319750
-[2011-06-24 16:20:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb32bfd90 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb32bfd90) completed successfully
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3319750) returned 0 (4a1ddec5-e413-06fd-ff3f-abc37bd34919)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3319750) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel49', returning 0xb33367e8
-[2011-06-24 16:20:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3319750 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3319750) completed successfully
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb33367e8) returned 0 (65535883-9d0d-72f2-de3f-1951ad6315e4)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb33367e8) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32fv', returning 0xb3340708
-[2011-06-24 16:20:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb33367e8 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb33367e8) completed successfully
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3340708) returned 0 (bf18b8a4-e558-d97d-a3c2-06c983d212db)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3340708) returned 0
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-32pv', returning 0xb3152a28
-[2011-06-24 16:20:18 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3340708 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:18 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3340708) completed successfully
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3152a28) returned 0 (775fcf96-2dee-ab1c-c4f1-5d5b65bf7108)
-[2011-06-24 16:20:18 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3152a28) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64fv', returning 0xb315eb98
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3152a28 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3152a28) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb315eb98) returned 0 (492b8007-f045-1a3f-3146-82b4d4f9a09f)
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb315eb98) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_id: virDomainGetID(0xb315eb98) returned 106
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel55-64pv', returning 0xb316cb88
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb315eb98 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb315eb98) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb316cb88) returned 0 (24aced0c-debc-2812-b2c1-2db112314761)
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb316cb88) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel56s5-64fv', returning 0xb3180820
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb316cb88 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb316cb88) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb3180820) returned 0 (5764e7d5-bd17-0cdc-fda3-f60af4e0e0bb)
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb3180820) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-hvm32', returning 0xb31910f0
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb3180820 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb3180820) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb31910f0) returned 0 (28fa2db6-3b6d-cefd-f194-a788e3d854fa)
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb31910f0) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel6.1-pv64', returning 0xb319b988
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb31910f0 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb31910f0) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb319b988) returned 0 (97d94a27-410f-83b6-0907-118cc693c953)
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb319b988) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'rhel60-64pv', returning 0xb31a2a10
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb319b988 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb319b988) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb31a2a10) returned 0 (79c9a4f6-9b20-fe27-fecc-f007b5549a5b)
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb31a2a10) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_lookup_by_name: domain name = 'winxp-32fv', returning 0xb31b2548
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb31a2a10 (conn 0xb33eb770) is allocated
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_domain_dtor: virDomainFree(0xb31a2a10) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_uuid_string: virDomainGetUUIDString(0xb31b2548) returned 0 (3edc8680-e319-5f63-4408-8433247107fe)
-[2011-06-24 16:20:19 libvirt-php/core]: libvirt_domain_get_info: virDomainGetInfo(0xb31b2548) returned 0
-[2011-06-24 16:20:19 libvirt-php/core]: free_resource: Freeing libvirt domain resource at 0xb31b2548
-[2011-06-24 16:20:19 libvirt-php/core]: free_resource: virDomainFree(0xb31b2548) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33eb770) completed successfully
-[2011-06-24 16:20:19 libvirt-php/core]: check_resource_allocation: libvirt domain resource 0xb31b2548 (conn 0xb34bf128) is not allocated
-[2011-06-24 16:20:30 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb32bfa40
-[2011-06-24 16:20:30 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb32bfa40) completed successfully
-[2011-06-24 16:20:35 libvirt-php/core]: libvirt_connect: Connection to xen+ssh://root@lws established, returning 0xb33ebed0
-[2011-06-24 16:20:35 libvirt-php/core]: libvirt_connect: Connection to qemu:///system established, returning 0xb33ebc20
-[2011-06-24 16:20:35 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebc20) completed successfully
-[2011-06-24 16:20:35 libvirt-php/core]: php_libvirt_connection_dtor: virConnectClose(0xb33ebed0) completed successfully
index c0bb2ff..a72a2b0 100644 (file)
@@ -1,6 +1,6 @@
   <!-- MENU -->
   <div id="main-menu">
-    <a href="?">Main menu</a>
-    | <a href="?page=domain-list">Domain list</a>
-    | <a href="?page=info">Information</a>
+    <a href="?"><?= $lang->get('main_menu') ?></a>
+    | <a href="?page=domain-list"><?= $lang->get('domain_list') ?></a>
+    | <a href="?page=info"><?= $lang->get('info') ?></a>
   </div>
index 7e500d6..d614e68 100644 (file)
--- a/menu.php
+++ b/menu.php
@@ -1,18 +1,18 @@
   <!-- MENU -->
   <div id="menu">
-  <a href="?name=<?= $name ?>">Overview</a>
+  <a href="?name=<?= $name ?>"><?= $lang->get('menu_overview') ?></a>
   <!--
   | <a href="?name=<?= $name ?>&amp;page=performance">Performance</a>
   -->
-  | <a href="?name=<?= $name ?>&amp;page=processor">Processor</a>
-  | <a href="?name=<?= $name ?>&amp;page=memory">Memory</a>
-  | <a href="?name=<?= $name ?>&amp;page=boot-options">Boot options</a>
-  | <a href="?name=<?= $name ?>&amp;page=disk-devices">Disk devices</a>
-  | <a href="?name=<?= $name ?>&amp;page=network-devices">Network devices</a>
-  | <a href="?name=<?= $name ?>&amp;page=multimedia-devices">Multimedia devices</a>
-  | <a href="?name=<?= $name ?>&amp;page=host-devices">Host devices</a>
+  | <a href="?name=<?= $name ?>&amp;page=processor"><?= $lang->get('menu_processor') ?></a>
+  | <a href="?name=<?= $name ?>&amp;page=memory"><?= $lang->get('menu_memory') ?></a>
+  | <a href="?name=<?= $name ?>&amp;page=boot-options"><?= $lang->get('menu_boot') ?></a>
+  | <a href="?name=<?= $name ?>&amp;page=disk-devices"><?= $lang->get('menu_disk') ?></a>
+  | <a href="?name=<?= $name ?>&amp;page=network-devices"><?= $lang->get('menu_network') ?></a>
+  | <a href="?name=<?= $name ?>&amp;page=multimedia-devices"><?= $lang->get('menu_multimedia') ?></a>
+  | <a href="?name=<?= $name ?>&amp;page=host-devices"><?= $lang->get('menu_hostdev') ?></a>
 <?php
   if (($lv->domain_is_running($res, $name) && ($lv->supports('screenshot'))))
-    echo '| <a href="?name='.$name.'&amp;page=screenshot">Screenshot</a>';
+    echo '| <a href="?name='.$name.'&amp;page=screenshot">'.$lang->get('menu_screenshot').'</a>';
 ?>
   </div>
index 480d8ca..7f0d558 100644 (file)
@@ -29,9 +29,9 @@
         }
         function check() {
             if (change_el == 'ch-apply')
-                return (confirm('Do you really want to apply your changes?'));
+                return (confirm('<?= $lang->get('ask_apply') ?>'));
             if (change_el == 'ch-discard')
-                return (confirm('Do you really want to discard your changes?'));
+                return (confirm('<?= $lang->get('ask_discard') ?>'));
         }
     -->
     </script>
@@ -39,7 +39,7 @@
 <?php
     if ($msg):
 ?>
-    <div id="msg"><b>Message: </b><?= $msg ?></div>
+    <div id="msg"><b><?= $lang->get('msg') ?>: </b><?= $msg ?></div>
 <?php
     endif;
 ?>
     <form action="#" method="POST" onsubmit="return check();">
 
     <!-- HOST SECTION -->
-    <div class="section">Virtual machine boot options</div>
+    <div class="section"><?= $lang->get('vm_boot_opts') ?></div>
     <div class="item">
-      <div class="label">First boot device:</div>
+      <div class="label"><?= $lang->get('vm_boot_dev1') ?>:</div>
       <div class="value">
         <select name="bd_1st">
-          <option value="hd" <?= (($bd_1st == 'hd') ? 'selected="selected"' : '') ?>>Hard-drive</option>
-          <option value="cdrom" <?= (($bd_1st == 'cdrom') ? 'selected="selected"' : '') ?>>CD-ROM</option>
-          <option value="fd" <?= (($bd_1st == 'fd') ? 'selected="selected"' : '') ?>>Floppy</option>
-          <option value="network" <?= (($bd_1st == 'network') ? 'selected="selected"' : '') ?>>Network boot (PXE)</option>
+          <option value="hd" <?= (($bd_1st == 'hd') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_hdd') ?></option>
+          <option value="cdrom" <?= (($bd_1st == 'cdrom') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_cd') ?></option>
+          <option value="fd" <?= (($bd_1st == 'fd') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_fda') ?></option>
+          <option value="network" <?= (($bd_1st == 'network') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_pxe') ?></option>
         </select>
       </div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Second boot device:</div>
+      <div class="label"><?= $lang->get('vm_boot_dev2') ?>:</div>
       <div class="value">
         <select name="bd_2nd">
-          <option value="-" <?= (($bd_2nd == '-') ? 'selected="selected"' : '') ?>>None</option>
-          <option value="hd" <?= (($bd_2nd == 'hd') ? 'selected="selected"' : '') ?>>Hard-drive</option>
-          <option value="cdrom" <?= (($bd_2nd == 'cdrom') ? 'selected="selected"' : '') ?>>CD-ROM</option>
-          <option value="fd" <?= (($bd_2nd == 'fd') ? 'selected="selected"' : '') ?>>Floppy</option>
-          <option value="network" <?= (($bd_2nd == 'network') ? 'selected="selected"' : '') ?>>Network boot (PXE)</option>
+          <option value="-" <?= (($bd_2nd == '-') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_none') ?></option>
+          <option value="hd" <?= (($bd_2nd == 'hd') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_hdd') ?></option>
+          <option value="cdrom" <?= (($bd_2nd == 'cdrom') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_cd') ?></option>
+          <option value="fd" <?= (($bd_2nd == 'fd') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_fda') ?></option>
+          <option value="network" <?= (($bd_2nd == 'network') ? 'selected="selected"' : '') ?>><?= $lang->get('vm_boot_pxe') ?></option>
         </select>
       </div>
       <div class="nl" />
     </div>
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        <input type="submit" name="ch-apply" value=" Apply changes " onclick="setElement('change', this)" />
-        <input type="submit" name="ch-discard" value=" Discard changes " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-apply" value=" <?= $lang->get('btn_apply') ?> " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-discard" value=" <?= $lang->get('btn_discard') ?> " onclick="setElement('change', this)" />
       </div>
       <div class="nl" />
     </div>
index 39957a6..f340bd7 100644 (file)
                                     'Disk has been successfully added to the guest' :
                                     'Cannot add disk to the guest: '.$lv->get_last_error();
     else
-        $frm = '<div class="section">Add a new disk device</div>
+        $frm = '<div class="section">'.$lang->get('vm_disk_add').'</div>
                 <form method="POST">
                 <table id="form-table">
                   <tr>
-                    <td align="right"><b>Disk image: </b></td>
+                    <td align="right"><b>'.$lang->get('vm_disk_image').': </b></td>
                     <td><input type="text" name="img" /></td>
                   </tr>
                  <tr>
-                   <td align="right"><b>Location: </b></td>
+                   <td align="right"><b>'.$lang->get('vm_disk_location').': </b></td>
                    <td>
                       <select name="bus">
                         <option value="ide">IDE Bus</option>
@@ -32,7 +32,7 @@
                     </td>
                  </tr>
                   <tr>
-                    <td align="right"><b>Driver: </b></td>
+                    <td align="right"><b>'.$lang->get('vm_disk_type').': </b></td>
                     <td>
                       <select name="driver">
                         <option value="raw">raw</option>
                     </td>
                   </tr>
                   <tr>
-                    <td align="right"><b>Disk device in the guest: </b></td>
+                    <td align="right"><b>'.$lang->get('vm_disk_dev').': </b></td>
                     <td><input type="text" name="dev" value="hdb" /></td>
                   </tr>
                   <tr align="center">
-                    <td colspan="2"><input type="submit" value=" Add new disk " /></td>
+                    <td colspan="2"><input type="submit" value=" '.$lang->get('vm_disk_add').' " /></td>
                   </tr>
                 </table>
                 </form>';
     <script language="javascript">
     <!--
         function confirmAddition() {
-            if (confirm('Do you really want to add a new disk ?')) {
+            if (confirm('<?= $lang->get('vm_disk_askadd') ?>')) {
                 location.href = '?name=<?= $name.'&page='.$page ?>&action=add-disk';
             }
         }
         function askDiskDeletion(disk) {
-            if (confirm('Are you sure you want to delete disk '+disk+' from the guest?'))
+            if (confirm('<?= $lang->get('vm_disk_askdel') ?>'))
                 location.href = '?name=<?= $name.'&page='.$page.'&action=del-disk&disk=' ?>'+disk;
         }
     -->
@@ -78,7 +78,7 @@
 <?php
     if ($msg):
 ?>
-    <div id="msg"><b>Message: </b><?= $msg ?></div>
+    <div id="msg"><b><?= $lang->get('msg') ?>: </b><?= $msg ?></div>
 <?php
     endif;
 ?>
@@ -92,9 +92,9 @@
 
     <form action="#" method="POST">
 
-    <div class="section">Machine disk devices</div>
+    <div class="section"><?= $lang->get('vm_disk_details') ?></div>
     <div class="item">
-      <div class="label">Number of disks:</div>
+      <div class="label"><?= $lang->get('vm_disk_num') ?>:</div>
       <div class="value"><?= $numDisks.$addmsg ?></div>
       <div class="nl" />
     </div>
     <!-- DISK SECTION -->
     <div class="section"><?= $bus ?> Disk <?= $i + 1 ?></div>
     <div class="item">
-      <div class="label">Storage:</div>
+      <div class="label"><?= $lang->get('vm_disk_storage') ?>:</div>
       <div class="value"><?= $disk['file'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Driver type:</div>
+      <div class="label"><?= $lang->get('vm_disk_type') ?>:</div>
       <div class="value"><?= $disk['type'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Domain device:</div>
+      <div class="label"><?= $lang->get('vm_disk_dev') ?>:</div>
       <div class="value"><?= $disk['device'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Capacity:</div>
+      <div class="label"><?= $lang->get('vm_disk_capacity') ?>:</div>
       <div class="value"><?= $lv->format_size($disk['capacity'], 2) ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Allocation:</div>
+      <div class="label"><?= $lang->get('vm_disk_allocation') ?>:</div>
       <div class="value"><?= $lv->format_size($disk['allocation'], 2) ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Physical disk size:</div>
+      <div class="label"><?= $lang->get('vm_disk_physical') ?>:</div>
       <div class="value"><?= $lv->format_size($disk['physical'], 2) ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Action:</div>
+      <div class="label"><?= $lang->get('actions') ?>:</div>
       <div class="value">
-        <input type="button" onclick="askDiskDeletion('<?= $disk['device'] ?>')" value=" Remove disk " />
+        <input type="button" onclick="askDiskDeletion('<?= $disk['device'] ?>')" value=" <?= $lang->get('vm_disk_remove') ?> " />
       </div>
       <div class="nl" />
     </div>
     <!-- DISK SECTION -->
     <div class="section"><?= $bus ?> CD-ROM <?= $i + 1 ?></div>
     <div class="item">
-      <div class="label">Storage:</div>
+      <div class="label"><?= $lang->get('vm_disk_storage') ?>:</div>
       <div class="value"><?= $disk['file'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Driver type:</div>
+      <div class="label"><?= $lang->get('vm_disk_type') ?>:</div>
       <div class="value"><?= $disk['type'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Domain device:</div>
+      <div class="label"><?= $lang->get('vm_disk_dev') ?>:</div>
       <div class="value"><?= $disk['device'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Capacity:</div>
+      <div class="label"><?= $lang->get('vm_disk_capacity') ?>:</div>
       <div class="value"><?= $lv->format_size($disk['capacity'], 2) ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Allocation:</div>
+      <div class="label"><?= $lang->get('vm_disk_allocation') ?>:</div>
       <div class="value"><?= $lv->format_size($disk['allocation'], 2) ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Physical disk size:</div>
+      <div class="label"><?= $lang->get('vm_disk_physical') ?>:</div>
       <div class="value"><?= $lv->format_size($disk['physical'], 2) ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Action:</div>
+      <div class="label"><?= $lang->get('actions') ?>:</div>
       <div class="value">
-        <input type="button" onclick="askDiskDeletion('<?= $disk['device'] ?>')" value=" Remove disk " />
+        <input type="button" onclick="askDiskDeletion('<?= $disk['device'] ?>')" value=" <?= $lang->get('vm_disk_remove') ?> " />
       </div>
       <div class="nl" />
     </div>
 ?>
 
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        <input type="button" name="add-disk" value=" Add new disk " onclick="confirmAddition()" />
+        <input type="button" name="add-disk" value=" <?= $lang->get('vm_disk_add') ?> " onclick="confirmAddition()" />
       </div>
       <div class="nl" />
     </div>
index 5c40e5e..146c8ab 100644 (file)
@@ -6,7 +6,7 @@
 
     <form action="#" method="POST">
 
-    <div class="section">Machine host devices</div>
+    <div class="section"><?= $lang->get('host_devices_title') ?></div>
 
 <?php
     for ($i = 0; $i < sizeof($devs['pci']); $i++):
@@ -36,8 +36,8 @@
     if (sizeof($devs['usb']) + sizeof($devs['pci']) == 0):
 ?>
     <div class="item">
-      <div class="label">Host devices:</div>
-      <div class="value">None</div>
+      <div class="label"><?= $lang->get('host_devices') ?>:</div>
+      <div class="value"><?= $lang->get('hostdev_none') ?></div>
       <div class="nl" />
     </div>
 <?
 ?>
 
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        None (this page is currently read-only)
+        <?= $lang->get('details_readonly') ?>
       </div>
       <div class="nl" />
     </div>
index 9ca4762..955d182 100644 (file)
@@ -33,9 +33,9 @@
         }
         function check() {
             if (change_el == 'ch-apply')
-                return (confirm('Do you really want to apply your changes?'));
+                return (confirm('<?= $lang->get('ask_apply') ?>'));
             if (change_el == 'ch-discard')
-                return (confirm('Do you really want to discard your changes?'));
+                return (confirm('<?= $lang->get('ask_discard') ?>'));
         }
     -->
     </script>
@@ -43,7 +43,7 @@
 <?php
     if ($msg):
 ?>
-    <div id="msg"><b>Message: </b><?= $msg ?></div>
+    <div id="msg"><b><?= $lang->get('msg') ?>: </b><?= $msg ?></div>
 <?php
     endif;
 ?>
     <form action="#" method="POST" onsubmit="return check();">
 
     <!-- HOST SECTION -->
-    <div class="section">Host memory information</div>
+    <div class="section"><?= $lang->get('host_mem_info') ?></div>
     <div class="item">
-      <div class="label">Total memory:</div>
+      <div class="label"><?= $lang->get('total_mem') ?>:</div>
       <div class="value"><?= $memory ?> MiB</div>
       <div class="nl" />
     </div>
     <!-- MACHINE SECTION -->
-    <div class="section">Machine memory allocation (in MiBs)</div>
+    <div class="section"><?= $lang->get('vm_mem_info') ?> (MiBs)</div>
     <div class="item">
-      <div class="label">Current allocation:</div>
+      <div class="label"><?= $lang->get('mem_alloc_cur') ?>:</div>
       <div class="value">
         <input type="text" name="memory" value="<?= $guest_memory ?>" />
       </div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Max. allocation:</div>
+      <div class="label"><?= $lang->get('mem_alloc_max') ?>:</div>
       <div class="value">
         <input type="text" name="maxmem" value="<?= $guest_maxmem ?>" />
       </div>
       <div class="nl" />
     </div>
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        <input type="submit" name="ch-apply" value=" Apply changes " onclick="setElement('change', this)" />
-        <input type="submit" name="ch-discard" value=" Discard changes " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-apply" value=" <?= $lang->get('btn_apply') ?> " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-discard" value=" <?= $lang->get('btn_discard') ?> " onclick="setElement('change', this)" />
       </div>
       <div class="nl" />
     </div>
index 120d934..de9c5f8 100644 (file)
@@ -3,37 +3,37 @@
 
     <form action="#" method="POST">
 
-    <div class="section">Machine multimedia devices</div>
+    <div class="section"><?= $lang->get('vm_multimedia_title') ?></div>
     <div class="item">
-      <div class="label">Console:</div>
+      <div class="label"><?= $lang->get('vm_multimedia_console') ?>:</div>
       <div class="value"><?= $lv->domain_get_multimedia_device($res, 'console', true) ?></div>
       <div class="nl" />
     </div>
 
     <div class="item">
-      <div class="label">Input device:</div>
+      <div class="label"><?= $lang->get('vm_multimedia_input') ?>:</div>
       <div class="value"><?= $lv->domain_get_multimedia_device($res, 'input', true) ?></div>
       <div class="nl" />
     </div>
 
     <div class="item">
-      <div class="label">Graphics device:</div>
+      <div class="label"><?= $lang->get('vm_multimedia_graphics') ?>:</div>
       <div class="value"><?= $lv->domain_get_multimedia_device($res, 'graphics', true) ?></div>
       <div class="nl" />
     </div>
 
     <div class="item">
-      <div class="label">Video:</div>
+      <div class="label"><?= $lang->get('vm_multimedia_video') ?>:</div>
       <div class="value"><?= $lv->domain_get_multimedia_device($res, 'video', true) ?></div>
       <div class="nl" />
     </div>
 
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        None (this page is currently read-only)
+        <?= $lang->get('details_readonly') ?>
       </div>
       <div class="nl" />
     </div>
index ab9cd97..1f39f38 100644 (file)
        $nets = $lv->get_networks();
        $models = $lv->get_nic_models();
 
-        $frm = '<div class="section">Add a new network interface card</div>
+        $frm = '<div class="section">'.$lang->get('vm_network_add').'</div>
                 <form method="POST">
                 <table id="form-table">
                   <tr>
-                    <td align="right"><b>MAC Address: </b></td>
+                    <td align="right"><b>'.$lang->get('vm_network_mac').': </b></td>
                     <td><input type="text" name="mac" value="'.$lv->generate_random_mac_addr().'"/></td>
                   </tr>
                  <tr>
-                   <td align="right"><b>Network: </b></td>
+                   <td align="right"><b>'.$lang->get('vm_network_net').': </b></td>
                    <td>
                       <select name="network">';
 
@@ -36,7 +36,7 @@
                     </td>
                  </tr>
                   <tr>
-                    <td align="right"><b>NIC Type: </b></td>
+                    <td align="right"><b>'.$lang->get('vm_network_type').': </b></td>
                     <td>
                       <select name="nic_type">';
 
@@ -48,7 +48,7 @@
                     </td>
                   </tr>
                   <tr align="center">
-                    <td colspan="2"><input type="submit" value=" Add new NIC " /></td>
+                    <td colspan="2"><input type="submit" value=" '.$lang->get('vm_network_add').' " /></td>
                   </tr>
                 </table>
                 </form>';
     <script language="javascript">
     <!--
         function confirmAddition() {
-            if (confirm('Do you really want to add a new network interface card ?')) {
+            if (confirm('<?= $lang->get('vm_network_askadd') ?>')) {
                 location.href = '?name=<?= $name.'&page='.$page ?>&action=add-nic';
             }
         }
         function askNicDeletion(mac, macb64) {
-            if (confirm('Are you sure you want to delete interface with MAC address '+mac+' from the guest?'))
+            if (confirm('<?= $lang->get('vm_network_askdel') ?>'))
                 location.href = '?name=<?= $name.'&page='.$page.'&action=del-nic&dev=' ?>'+macb64;
         }
     -->
@@ -94,9 +94,9 @@
 
     <form action="#" method="POST">
 
-    <div class="section">Machine network devices</div>
+    <div class="section"><?= $lang->get('vm_network_title') ?></div>
     <div class="item">
-      <div class="label">Number of NICs:</div>
+      <div class="label"><?= $lang->get('vm_network_num') ?>:</div>
       <div class="value"><?= $numDisks ?></div>
       <div class="nl" />
     </div>
         $nic = $tmp[$i];
 ?>
     <!-- NIC SECTION -->
-    <div class="section">Network interface card #<?= $i + 1 ?></div>
+    <div class="section"><?= $lang->get('vm_network_nic') ?> #<?= $i + 1 ?></div>
     <div class="item">
-      <div class="label">MAC Address:</div>
+      <div class="label"><?= $lang->get('vm_network_mac') ?>:</div>
       <div class="value"><?= $nic['mac'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Network:</div>
+      <div class="label"><?= $lang->get('vm_network_net') ?>:</div>
       <div class="value"><?= $nic['network'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">NIC Type:</div>
+      <div class="label"><?= $lang->get('vm_network_type') ?>:</div>
       <div class="value"><?= $nic['nic_type'] ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Action:</div>
+      <div class="label"><?= $lang->get('actions') ?>:</div>
       <div class="value">
-        <input type="button" onclick="askNicDeletion('<?= $nic['mac'] ?>', '<?= base64_encode($nic['mac']) ?>')" value=" Remove network interface " />
+        <input type="button" onclick="askNicDeletion('<?= $nic['mac'] ?>', '<?= base64_encode($nic['mac']) ?>')" value=" <?= $lang->get('vm_network_del') ?> " />
       </div>
       <div class="nl" />
     </div>
 ?>
 
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        <input type="button" name="add-nic" value=" Add new a new network interface " onclick="confirmAddition()" />
+        <input type="button" name="add-nic" value=" <?= $lang->get('vm_network_add') ?> " onclick="confirmAddition()" />
       </div>
       <div class="nl" />
     </div>
index a1cc694..b5ba0ce 100644 (file)
@@ -39,9 +39,9 @@
         }
         function check() {
             if (change_el == 'ch-apply')
-                return (confirm('Do you really want to apply your changes?'));
+                return (confirm('<?= $lang->get('ask_apply') ?>'));
             if (change_el == 'ch-discard')
-                return (confirm('Do you really want to discard your changes?'));
+                return (confirm('<?= $lang->get('ask_discard') ?>'));
         }
     -->
     </script>
@@ -49,9 +49,9 @@
     <form action="#" method="POST" onsubmit="return check();">
 
     <!-- GENERAL SECTION -->
-    <div class="section">General</div>
+    <div class="section"><?= $lang->get('general') ?></div>
     <div class="item">
-      <div class="label">Name:</div>
+      <div class="label"><?= $lang->get('name') ?>:</div>
       <div class="value"><?= $name ?></div>
       <div class="nl" />
     </div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Status:</div>
+      <div class="label"><?= $lang->get('state') ?>:</div>
       <div class="value"><?= $status ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Description:</div>
+      <div class="label"><?= $lang->get('description') ?>:</div>
       <div class="value">
         <textarea rows="10" cols="60" name="description"><?= $desc ?></textarea>
       </div>
       <div class="nl" />
     </div>
     <!-- MACHINE DETAILS SECTION -->
-    <div class="section">Machine details</div>
+    <div class="section"><?= $lang->get('vm_details') ?>: </div>
     <div class="item">
-      <div class="label">Architecture:</div>
+      <div class="label"><?= $lang->get('arch') ?>:</div>
       <div class="value"><?= $arch ?></div>
       <div class="nl" />
     </div>
       <div class="nl" />
     </div>
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        <input type="submit" name="ch-apply" value=" Apply changes " onclick="setElement('change', this)" />
-        <input type="submit" name="ch-discard" value=" Discard changes " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-apply" value=" <?= $lang->get('btn_apply') ?> " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-discard" value=" <?= $lang->get('btn_discard') ?> " onclick="setElement('change', this)" />
       </div>
       <div class="nl" />
     </div>
index 0bc8db6..fe8643c 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+  if ((array_key_exists('ch-discard', $_POST)) && ($_POST['ch-discard']))
+       Die(Header('Location: '.$_SERVER['REQUEST_URI']));
+
   $ci  = $lv->get_connect_information();
   $max = $ci['hypervisor_maxvcpus'];
   unset($ci);
@@ -29,9 +32,9 @@
         }
         function check() {
             if (change_el == 'ch-apply')
-                return (confirm('Do you really want to apply your changes?'));
+                return (confirm('<?= $lang->get('ask_apply') ?>'));
             if (change_el == 'ch-discard')
-                return (confirm('Do you really want to discard your changes?'));
+                return (confirm('<?= $lang->get('ask_discard') ?>'));
         }
     -->
     </script>
@@ -39,7 +42,7 @@
 <?php
     if ($msg):
 ?>
-    <div id="msg"><b>Message: </b><?= $msg ?></div>
+    <div id="msg"><b><?= $lang->get('msg') ?>: </b><?= $msg ?></div>
 <?php
     endif;
 ?>
     <form action="#" method="POST" onsubmit="return check();">
 
     <!-- HOST SECTION -->
-    <div class="section">Host processor information</div>
+    <div class="section"><?= $lang->get('host_pcpu_info') ?></div>
     <div class="item">
-      <div class="label">CPU count:</div>
+      <div class="label"><?= $lang->get('pcpus') ?>:</div>
       <div class="value"><?= $cpus ?></div>
       <div class="nl" />
     </div>
     <div class="item">
-      <div class="label">Max. per guest:</div>
+      <div class="label"><?= $lang->get('max_per_guest') ?>:</div>
       <div class="value"><?= $max ?> vCPUs</div>
       <div class="nl" />
     </div>
     <!-- MACHINE SECTION -->
-    <div class="section">Machine processor information</div>
+    <div class="section"><?= $lang->get('vm_vcpu_info') ?></div>
     <div class="item">
-      <div class="label">vCPU count:</div>
+      <div class="label"><?= $lang->get('vcpus') ?>:</div>
       <div class="value">
         <select name="cpu_count">
 <?
       <div class="nl" />
     </div>
     <!-- ACTIONS SECTION -->
-    <div class="section">Actions</div>
+    <div class="section"><?= $lang->get('actions') ?></div>
     <div class="item">
-      <div class="label">Changes:</div>
+      <div class="label"><?= $lang->get('changes') ?>:</div>
       <div class="value">
-        <input type="submit" name="ch-apply" value=" Apply changes " onclick="setElement('change', this)" />
-        <input type="submit" name="ch-discard" value=" Discard changes " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-apply" value=" <?= $lang->get('btn_apply') ?> " onclick="setElement('change', this)" />
+        <input type="submit" name="ch-discard" value=" <?= $lang->get('btn_discard') ?> " onclick="setElement('change', this)" />
       </div>
       <div class="nl" />
     </div>
index 3944a10..d5f86ca 100644 (file)
@@ -55,8 +55,8 @@
 <?php
     if ($msg):
 ?>
-    <div class="section">Domain screenshot</div>
-    <div id="msg"><b>Message: </b><?= $msg ?></div>
+    <div class="section"><?= $lang->get('dom_screenshot') ?></div>
+    <div id="msg"><b><?= $lang->get('msg') ?>: </b><?= $msg ?></div>
 <?php
     else:
        $dims = $lv->domain_get_screen_dimensions($name);
 
     <!-- SETTINGS SECTION -->
     <form class="table-form" method="POST">
-    <div class="section">Settings</div>
+    <div class="section"><?= $lang->get('settings') ?></div>
     <div class="item">
-      <div class="label">Interval (sec):</div>
+      <div class="label"><?= $lang->get('interval_sec') ?>:</div>
       <div class="value">
        <input type="text" name="interval" value="<?= $interval ?>" id="interval">
-       <input type="button" value=" Change " onclick="change_interval()">
+       <input type="button" value=" <?= $lang->get('change') ?> " onclick="change_interval()">
       </div>
       <div class="nl" />
     </div>
 
-    <div class="section">Domain screenshot</div>
+    <div class="section"><?= $lang->get('dom_screenshot') ?></div>
 
     <div class="screenshot"><img id="screenshot" src="<?= $_SERVER['REQUEST_URI'] ?>&amp;data=png" onclick="screenshotClick()"><br />
     <form class="table-form" method="POST">
index 314e94d..aa06408 100644 (file)
@@ -27,8 +27,8 @@
     $inactive = (!$lv->domain_is_running($name)) ? true : false;
 
     $xml = $lv->domain_get_xml($name, $inactive);
-    $frm = '<div class="section">Domain XML description for domain <i>'.$name.'</i></div><form method="POST">
-            <table id="form-table"><tr><td>Domain XML description: </td>
+    $frm = '<div class="section">'.$lang->get('dom_xmldesc').' - <i>'.$name.'</i></div><form method="POST">
+            <table id="form-table"><tr><td>'.$lang->get('dom_xmldesc').': </td>
             <td><textarea readonly="readonly" name="xmldesc" rows="25" cols="90%">'.$xml.'</textarea></td></tr><tr align="center"><td colspan="2">
             </tr></form></table>';
   }
@@ -45,9 +45,9 @@
     }
     else {
         $xml = $lv->domain_get_xml($name, $inactive);
-        $frm = '<div class="section">Edit domain XML description for domain <i>'.$name.'</i></div><form method="POST"><table id="form-table"><tr><td>Domain XML description: </td>
+        $frm = '<div class="section">'.$lang->get('dom_editxml').' - <i>'.$name.'</i></div><form method="POST"><table id="form-table"><tr><td>'.$lang->get('dom_xmldesc').': </td>
              <td><textarea name="xmldesc" rows="25" cols="90%">'.$xml.'</textarea></td></tr><tr align="center"><td colspan="2">
-             <input type="submit" value=" Edit domain XML description "></tr></form></table>';
+             <input type="submit" value=" '.$lang->get('dom_editxml').' "></tr></form></table>';
     }
   }
 ?>
@@ -56,7 +56,7 @@
 <?php
     if ($msg):
 ?>
-    <div id="msg"><b>Message: </b><?= $msg ?></div>
+    <div id="msg"><b><?= $lang->get('msg') ?>: </b><?= $msg ?></div>
 <?php
     endif;
 ?>
        echo $frm;
 ?>
 
-<div class="section">Domain list</div>
+<div class="section"><?= $lang->get('domain_list') ?></div>
 
 <table id="domain-list">
   <tr>
-    <th>Name</th>
-    <th>Architecture</th>
-    <th>vCPUs</th>
-    <th>Memory</th>
-    <th>Disk(s)</th>
-    <th>NICs</th>
-    <th>State</th>
-    <th>ID</th>
-    <th>Action</th>
+    <th><?= $lang->get('name') ?></th>
+    <th><?= $lang->get('arch') ?></th>
+    <th><?= $lang->get('vcpus') ?></th>
+    <th><?= $lang->get('mem') ?></th>
+    <th><?= $lang->get('disk/s') ?></th>
+    <th><?= $lang->get('nics') ?></th>
+    <th><?= $lang->get('state') ?></th>
+    <th><?= $lang->get('id') ?></th>
+    <th><?= $lang->get('actions') ?></th>
   </tr>
 <?php
                $doms = $lv->get_domains();
                                $nics = $lv->get_network_cards($res);
                                if (($diskcnt = $lv->get_disk_count($res)) > 0) {
                                        $disks = $diskcnt.' / '.$lv->get_disk_capacity($res);
-                                       $diskdesc = 'Current physical size: '.$lv->get_disk_capacity($res, true);
+                                       $diskdesc = $lang->get('cur_phys_size').': '.$lv->get_disk_capacity($res, true);
                                }
                                else {
-                                       $disks = 'diskless';
+                                       $disks = $lang->get('diskless');
                                        $diskdesc = '';
                                }
 
                                $running = $lv->domain_is_running($res, $name);
                                if (!$running) {
-                                       $actions  = '<a href="?page='.$page.'&amp;action=domain-start&amp;dom='.$name.'">Start domain</a> | ';
-                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-dump&amp;dom='.$name.'">Dump domain XML</a> | ';
-                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-edit&amp;dom='.$name.'">Edit domain XML</a> | ';
+                                       $actions  = '<a href="?page='.$page.'&amp;action=domain-start&amp;dom='.$name.'">'.$lang->get('dom_start').'</a> | ';
+                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-dump&amp;dom='.$name.'">'.$lang->get('dom_dumpxml').'</a> | ';
+                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-edit&amp;dom='.$name.'">'.$lang->get('dom_editxml').'</a> | ';
 
                                        $actions[ strlen($actions) - 2 ] = ' ';
                                        $actions = Trim($actions);
                                }
                                else {
-                                       $actions  = '<a href="?page='.$page.'&amp;action=domain-stop&amp;dom='.$name.'">Stop domain</a> | ';
-                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-destroy&amp;dom='.$name.'">Destroy domain</a> | ';
-                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-dump&amp;dom='.$name.'">Dump domain XML</a> | ';
+                                       $actions  = '<a href="?page='.$page.'&amp;action=domain-stop&amp;dom='.$name.'">'.$lang->get('dom_stop').'</a> | ';
+                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-destroy&amp;dom='.$name.'">'.$lang->get('dom_destroy').'</a> | ';
+                                       $actions .= '<a href="?page='.$page.'&amp;action=domain-dump&amp;dom='.$name.'">'.$lang->get('dom_dumpxml').'</a> | ';
 
                                        if ($lv->supports('screenshot'))
-                                               $actions .= '<a href="?name='.$name.'&amp;page=screenshot">Get screenshot</a> | ';
+                                               $actions .= '<a href="?name='.$name.'&amp;page=screenshot">'.$lang->get('dom_screenshot').'</a> | ';
 
                                        $actions[ strlen($actions) - 2 ] = ' ';
                                        $actions = Trim($actions);
                }
 
                if ($num == 0)
-                       echo "<tr><td colspan=\"9\">No valid domain found</td></tr>";
+                       echo "<tr><td colspan=\"9\">".$lang->get('dom_none')."</td></tr>";
        ?>
 </table>
 
index 54cb0e5..eed5bd3 100644 (file)
 
 <div id="content">
 
-<div class="section">Virtual machine control for PHP</div>
+<div class="section"><?= $lang->get('title_vmc').' '.$lang->get('for_php') ?></div>
 
 <div class="item">
-        <div class="label">Version</div>
+        <div class="label"><?= $lang->get('version') ?></div>
         <div class="value"><?= PHPVIRTCONTROL_VERSION ?></div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">Website</div>
+        <div class="label"><?= $lang->get('website') ?></div>
         <div class="value"><a target="_blank" href="<?= PHPVIRTCONTROL_WEBSITE ?>"><?= PHPVIRTCONTROL_WEBSITE ?></a></div>
         <div class="nl">
 </div>
 
-<div class="section">Connection details</div>
+<div class="section"><?= $lang->get('conn_details') ?></div>
 
 <?php
        $tmp  = $lv->get_connect_information();
 ?>
 
 <div class="item">
-        <div class="label">Hypervisor</div>
+        <div class="label"><?= $lang->get('hypervisor') ?></div>
         <div class="value"><?= $tmp['hypervisor_string'] ?></div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">Connection URI</div>
+        <div class="label"><?= $lang->get('conn_uri') ?></div>
         <div class="value"><?= $tmp['uri'] ?></div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">Hostname</div>
+        <div class="label"><?= $lang->get('hostname') ?></div>
         <div class="value"><?= $tmp['hostname'] ?></div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">Encrypted</div>
-        <div class="value"><?= $tmp['encrypted'] ?></div>
+        <div class="label"><?= $lang->get('conn_encrypted') ?></div>
+        <div class="value"><?= $lang->get($tmp['encrypted']) ?></div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">Secure</div>
-        <div class="value"><?= $tmp['secure'] ?></div>
+        <div class="label"><?= $lang->get('conn_secure') ?></div>
+        <div class="value"><?= $lang->get($tmp['secure']) ?></div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">Hypervisor limit</div>
+        <div class="label"><?= $lang->get('hypervisor_limit') ?></div>
         <div class="value"><?= $tmp['hypervisor_maxvcpus'] ?> vCPUs per guest</div>
         <div class="nl">
 </div>
        unset($tmp);
        $tmp = $lv->host_get_node_info();
 ?>
-<div class="section">Host machine details</div>
+<div class="section"><?= $lang->get('host_details') ?></div>
 <div class="item">
-       <div class="label">Model</div>
+       <div class="label"><?= $lang->get('model') ?></div>
        <div class="value"><?= $tmp['model'] ?></div>
        <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">Memory</div>
+        <div class="label"><?= $lang->get('mem') ?></div>
         <div class="value"><?= (int)($tmp['memory'] / 1024) ?> MiB</div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">CPUs/cores</div>
+        <div class="label"><?= $lang->get('pcpus') ?></div>
         <div class="value"><?= $tmp['cpus'].' ('.$tmp['nodes'].' nodes, '.$tmp['sockets'].' sockets, '.$tmp['cores'].' cores)' ?></div>
         <div class="nl">
 </div>
 
 <div class="item">
-        <div class="label">CPU Speed</div>
+        <div class="label"><?= $lang->get('cpu_speed') ?></div>
         <div class="value"><?= $tmp['mhz'] ?> MHz</div>
         <div class="nl">
 </div>
 <?php unset($tmp) ?>
-<div class="section">libvirt PHP module information</div>
+<div class="section"><?= $lang->get('modinfo') ?></div>
 <?= $out ?>
 
 </div>
index e2ad4ca..b30a581 100644 (file)
@@ -1,23 +1,68 @@
 <div id="content">
 
-<div class="section">Connections</div>
+<div class="section"><?= $lang->get('info') ?></div>
 
 <?php
        if ($errmsg)
-               echo '<div id="msg"><b>Message: </b>'.$errmsg.'</div>';
+               echo '<div id="msg"><b>'.$lang->get('msg').': </b>'.$errmsg.'</div>';
 ?>
 
-<p>This is the virtual machine controller tool written in PHP language. You can manage virtual machines (guests) on your machines using this
-web-based controlling interface. For the navigation please use the upper menu and select the domain from the <i>Domain list</i> link to see
-the virtual machines available on the current machine. You can also see the information about the hypervisor connection, host machine and
-libvirt PHP module (used by this system) on the <i>Information</i> page.</p>
+<?= $lang->get('info_msg'); ?>
 
-<p>The hypervisor on the machine running Apache with PHP is being probed automatically if applicable however you can override the definition
-to connect to any other hypervisor on remote machine. To achieve this you need to select a connection and change the host using the form
-below. If you experience any issues (e.g. not working connectivity to SSH-based remote host) please make sure you're having all the prerequisites
-met. For more reference please check <a href="http://libvirt.org/auth.html" target="_blank">libvirt authentication documentation.</a></p>
+<div class="section"><?= $lang->get('conns'); ?></div>
 
 <?php
+       if (array_key_exists('remove_conn', $_GET))
+               $db->remove_connection( (int)$_GET['remove_conn'] );
+
+       $tmp = $db->list_connections(true);
+
+        $spaces = '&nbsp; &nbsp; &nbsp;';
+        echo '<table id="form-table">
+                          <tr>
+                            <th>'.$spaces.$lang->get('connname').$spaces.'</th>
+                            <th>'.$spaces.$lang->get('hypervisor').$spaces.'</th>
+                            <th>'.$spaces.$lang->get('host_type').$spaces.'</th>
+                           <th>'.$spaces.$lang->get('host').$spaces.'</th>
+                            <th>'.$spaces.$lang->get('logfile').$spaces.'</th>
+                           <th>'.$spaces.$lang->get('actions').$spaces.'</td>
+                          </tr>
+                ';
+
+       for ($i = 0; $i < sizeof($tmp); $i++) {
+               $name = $tmp[$i]['name'];
+               $hv = $tmp[$i]['hypervisor'];
+               $remote = $tmp[$i]['remote'];
+               $method = $tmp[$i]['method'];
+               $user = $tmp[$i]['user'];
+               $host = $tmp[$i]['host'];
+               $logfile = $tmp[$i]['logfile'];
+
+               echo '<tr align="center">
+                       <td>'.$name.'</td>
+                        <td>'.$hv.'</td>
+                        <td>'.($remote ? $lang->get('type_remote') : $lang->get('type_local')).'</td>
+                       <td>'.($host ? $host : '-').'</td>
+                        <td>'.($logfile ? $logfile : '-').'</td>
+                       <td>
+                               <a href="?connect='.($i + 1).'">'.$lang->get('connect').'</a> |
+                               <a href="?remove_conn='.($i + 1).'">'.$lang->get('conn_remove').'</a>
+                       </td>
+                      </tr>';
+       }
+
+       if (sizeof($tmp) == 0)
+               echo "<tr align=\"center\"><td colspan=\"6\">".$lang->get('conn_none')."</td></tr>";
+
+       unset($tmp);
+
+       echo '</table>';
+?>
+
+<div class="section"><?= $lang->get('conn_setup') ?></div>
+
+<?php
+       $nm = array_key_exists('lvcname', $_POST) ? $_POST['lvcname'] : false;
        $hv = array_key_exists('lvchypervisor', $_POST) ? $_POST['lvchypervisor'] : false;
        $rh = array_key_exists('lvcremotehost', $_POST) ? $_POST['lvcremotehost'] : false;
        $rm = array_key_exists('lvcremotemethod', $_POST) ? $_POST['lvcremotemethod'] : false;
@@ -25,6 +70,20 @@ met. For more reference please check <a href="http://libvirt.org/auth.html" targ
        $hn = array_key_exists('lvchostname', $_POST) ? $_POST['lvchostname'] : false;
        $lg = array_key_exists('lvclogging', $_POST) ? $_POST['lvclogging'] : false;
 
+       if (array_key_exists('connect', $_GET)) {
+               $tmp = $db->list_connections();
+               $i = (int)$_GET['connect'] - 1;
+
+                $hv = $tmp[$i]['hypervisor'];
+                $rh = $tmp[$i]['remote'];
+                $rm = $tmp[$i]['method'];
+                $un = $tmp[$i]['user'];
+                $hn = $tmp[$i]['host'];
+                $lg = $tmp[$i]['logfile'];
+               
+               unset($tmp);
+       }
+
        if ($hv) {
                $uri = $lv->generate_connection_uri($hv, $rh, $rm, $un, $hn);
                $test = libvirt_connect($uri);
@@ -34,13 +93,17 @@ met. For more reference please check <a href="http://libvirt.org/auth.html" targ
                if ($ok) {
                        $_SESSION['connection_uri'] = $uri;
                        $_SESSION['connection_logging'] = $lg;
-                       echo '<p>Changed connection URI to <b>'.$uri.'</b></p>';
+                       echo '<p>'.$lang->get('changed_uri').' <b>'.$uri.'</b></p>';
+
+                       if ((array_key_exists('lvcname', $_POST)) && ($_POST['lvcname']))
+                               if ($db->add_connection($_POST['lvcname'], $hv, $rh, $rm, $un, $hn, $lg))
+                                       echo $lang->get('conn_saved');
 
-                       echo '<a href="?">Click here to reload and connect using new URI</a>';
+                       echo '<a href="?">'.$lang->get('click_reload').'</a>';
                        die('</div>');
                }
                else {
-                       echo '<p>Connection to <b>'.$uri.'</b> failed. Not changing URI...</p>';
+                       echo '<p>'.$lang->get('conn_failed').': '.$uri.'</p>';
                }
        }
 
@@ -69,10 +132,10 @@ met. For more reference please check <a href="http://libvirt.org/auth.html" targ
 <form method="POST">
 <table id="form-table">
   <tr>
-    <th colspan="2">Change host connection</th>
+    <th colspan="2"><?= $lang->get('change_conn') ?></th>
   </tr>
   <tr>
-    <td>Hypervisor: </td>
+    <td><?= $lang->get('hypervisor') ?>: </td>
     <td align="right">
       <select name="lvchypervisor">
         <option value="xen" <?= ($hv == 'xen') ? ' selected="selected"' : '' ?>>Xen</option>
@@ -81,19 +144,19 @@ met. For more reference please check <a href="http://libvirt.org/auth.html" targ
     </td>
   </tr>
   <tr>
-    <th colspan="2">Host options</th>
+    <th colspan="2"><?= $lang->get('host_opts') ?></th>
   </tr>
   <tr>
-    <td>Host type: </td>
+    <td><?= $lang->get('host_type') ?>: </td>
     <td align="right">
       <select name="lvcremotehost" onchange="change_remote(this)">
-        <option value="0" <?= ($rh == '0') ? ' selected="selected"' : '' ?>>Local host</option>
-        <option value="1" <?= ($rh == '1') ? ' selected="selected"' : '' ?>>Remote host</option>
+        <option value="0" <?= ($rh == '0') ? ' selected="selected"' : '' ?>><?= $lang->get('type_local') ?></option>
+        <option value="1" <?= ($rh == '1') ? ' selected="selected"' : '' ?>><?= $lang->get('type_remote') ?></option>
       </select>
     </td>
   </tr>
   <tr id="remote1" style="display: <?= $ds ?>">
-    <td>Connection method: </td>
+    <td><?= $lang->get('conn_method') ?>: </td>
     <td align="right">
       <select name="lvcremotemethod">
         <option value="ssh" <?= ($rm == 'ssh') ? ' selected="selected"' : '' ?>>SSH</option>
@@ -103,29 +166,38 @@ met. For more reference please check <a href="http://libvirt.org/auth.html" targ
     </td>
   </tr>
   <tr id="remote2" style="display: <?= $ds ?>">
-    <td>User name: </td>
+    <td><?= $lang->get('user')?>: </td>
     <td align="right">
       <input type="text" name="lvcusername" value="<?= $un ?>" />
     </td>
   </tr>
   <tr id="remote3" style="display: <?= $ds ?>">
-    <td>Host: </td>
+    <td><?= $lang->get('host') ?>: </td>
     <td align="right">
       <input type="text" name="lvchostname" value="<?= $hn ?>" />
     </td>
   </tr>
   <tr>
-    <th colspan="2">Logging options</th>
+    <th colspan="2"><?= $lang->get('log_opts') ?></th>
+  </tr>
+  <tr>
+    <td><?= $lang->get('logfile')?>: </td>
+    <td align="right">
+      <input type="text" name="lvclogging" value="<?= $lg ?>" title="<?= $lang->get('empty_disable_log') ?>" />
+    </td>
+  </tr>
+  <tr>
+    <th colspan="2"><?= $lang->get('save_conn') ?></th>
   </tr>
   <tr>
-    <td>Log file: </td>
+    <td><?= $lang->get('connname')?>: </td>
     <td align="right">
-      <input type="text" name="lvclogging" value="<?= $lg ?>" title="Leave empty to disable logging" />
+      <input type="text" name="lvcname" value="<?= $nm ?>" title="<?= $lang->get('empty_disable_save') ?>" />
     </td>
   </tr>
   <tr align="center">
     <td colspan="2">
-      <input type="submit" value=" Connect to the new host " />
+      <input type="submit" value=" <?= $lang->get('connect_new') ?> " />
     </td>
   </tr>
 </table>