search for: dutils

Displaying 20 results from an estimated 32 matches for "dutils".

Did you mean: utils
2009 Nov 26
2
[error] avahi_entry_group_add_service_strlst("AdminNodeFQDN") failed: Invalid host name
...tternestedset/lib/better_nested_set.rb:35:in `acts_as_nested_set' from /usr/share/ovirt-server/app/models/pool.rb:21 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' ... 25 levels... from /usr/share/ovirt-server/dutils/dutils.rb:19:in `require' from /usr/share/ovirt-server/dutils/dutils.rb:19 from /usr/bin/ovirt-vm2node:6:in `require' from /usr/bin/ovirt-vm2node:6 /usr/lib64/python2.6/site-packages/mod_python/importer.py:32: DeprecationWarning: the md5 module is deprecated; use...
2008 Jan 31
3
[PATCH] stack overflow during pv-guest restore
When secondary cpus are initialized during an i386 pv-guest restore (due to save/restore or live migration), and the guest has a load that generates a fair number of interrupts (e.g., parallel kernel make), a stack overflow can occur because cpu_initialize_context() has a 2800 byte structure it declares on its stack. linux-i386 has 4K stacks, by default. Using 2800 bytes out of 4K by a single
2009 Jul 15
1
[PATCH] Rename qmf-libvirt-example to libvirt-list.rb
...5 src/libvirt-list.rb delete mode 100644 src/qmf-libvirt-example.rb diff --git a/src/libvirt-list.rb b/src/libvirt-list.rb new file mode 100755 index 0000000..54e8b7e --- /dev/null +++ b/src/libvirt-list.rb @@ -0,0 +1,65 @@ +#!/usr/bin/ruby + +$: << File.join(File.dirname(__FILE__), "./dutils") + +require "rubygems" +require "qpid" +require "dutils" + +get_credentials('qpidd') + +server, port = get_srv('qpidd', 'tcp') +raise "Unable to determine qpid server from DNS SRV record" if not server + +srv = "amqp://#{ser...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...+---- 6 files changed, 323 insertions(+), 280 deletions(-) diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb index c400097..686ad71 100755 --- a/src/db-omatic/db_omatic.rb +++ b/src/db-omatic/db_omatic.rb @@ -3,18 +3,18 @@ $: << File.join(File.dirname(__FILE__), "../dutils") $: << File.join(File.dirname(__FILE__), ".") -require "rubygems" -require "qpid" +require 'rubygems' require 'monitor' require 'dutils' require 'daemons' require 'optparse' require 'logger' require &...
2009 Jul 07
1
[PATCH] Let ovirt-test use DNS SRV to get qpidd server.
...anged, 2 insertions(+), 6 deletions(-) diff --git a/src/ovirt-agent/ovirt-test.rb b/src/ovirt-agent/ovirt-test.rb index 71f9a9f..412a8ee 100755 --- a/src/ovirt-agent/ovirt-test.rb +++ b/src/ovirt-agent/ovirt-test.rb @@ -6,14 +6,10 @@ require 'rubygems' require 'qpid' require 'dutils' -if ARGV.size == 1 - srv = ARGV[0] -else - srv = "amqp://localhost" -end - +server, port = get_srv('qpidd', 'tcp') get_credentials('qpidd') +srv = "amqp://#{server}:#{port}" puts "Connecting to #{srv}.." s = Qpid::Qmf::Session.ne...
2009 Jul 13
1
[PATCH: server] Added qmf matahari example to ovirt-server.
...eate mode 100644 src/qmf-matahari.example.rb diff --git a/src/qmf-matahari.example.rb b/src/qmf-matahari.example.rb new file mode 100644 index 0000000..0934ac9 --- /dev/null +++ b/src/qmf-matahari.example.rb @@ -0,0 +1,50 @@ +#!/usr/bin/ruby + +$: << File.join(File.dirname(__FILE__), "./dutils") + +require "rubygems" +require "qpid" +require "dutils" + +get_credentials('qpidd') + +server, port = get_srv('qpidd', 'tcp') +raise "Unable to determine qpid server from DNS SRV record" if not server + +srv = "amqp://#{ser...
2011 Mar 16
3
[PATCH] tools: do not link against unused libraries
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1300271932 0 # Node ID 7e326d27d899a3133479c8b7c983f660cdeda48c # Parent f35234b6636a0410a7d5eaa409e98ebe59080e4f tools: do not link against unused libraries. A fair few things under tools link against libraries which they don''t even use. Most of this appears to come from copy-and-pasting previous Makefile
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
...th this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. A copy of the GNU General Public License is +# also available at http://www.gnu.org/copyleft/gpl.html. + +$: << File.join(File.dirname(__FILE__), "../dutils") + +require 'dutils' +require 'daemons' +include Daemonize + +########### + +DEFAULT_VNC_PROXY_PORT = 5900 +VM_NAME_MAX_LEN = 250 +VNC_DATA_MAX_LEN = 800000 + +########### + +# clone of the taskomatic / dbomatic logger; +# TODO move all of these seperate implementations into...
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...755 src/ovirt-agent/ovirt-test.rb diff --git a/src/ovirt-agent/ovirt-agent.rb b/src/ovirt-agent/ovirt-agent.rb new file mode 100755 index 0000000..11f5ed7 --- /dev/null +++ b/src/ovirt-agent/ovirt-agent.rb @@ -0,0 +1,314 @@ +#!/usr/bin/ruby + +$: << File.join(File.dirname(__FILE__), "../dutils") + +require "rubygems" +require 'monitor' +require 'dutils' +require 'daemons' +require 'logger' + +require 'qmf' +require 'socket' + +include Daemonize + +class VmQmfController + include VmService + + attr_accessor :vm + + def get_...
2009 Jul 10
2
[PATCH: server 0/3] Add host-register.rb (replaces host-browser.rb in part)
Removes node identification functionality from host-browser.rb and adds a new script, host-register.rb, that takes over that functionality. The chief difference is that host-browser used a simple TCP server setup to get data from the node, while host-register uses the qpid bus to do so. Specifically, it communicates with the matahari qmf agent added to the node in two related patchsets to node
2013 Jul 08
12
VT-d interrup remapping errata workaround
All, just having spotted the backport of Linux commit 03bbcb2e I notice a certain discrepancy with the Xen commit having the same purpose as well as with the actual specification updates: The Linux solution keys off of device IDs 3403 and 3406, as listed in the specification update, but this way fails to cover the X58 chipset, which has - under different numbers (62 and 69) - the same errata
2009 May 28
1
[PATCH] blktap2: fix makefile of vhd for parallel make
blktap2: fix makefile of vhd for parallel make With parallel make, libvhd might not be created before link resulting in link error. This patch guarantees it. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> diff --git a/tools/blktap2/vhd/Makefile b/tools/blktap2/vhd/Makefile --- a/tools/blktap2/vhd/Makefile +++ b/tools/blktap2/vhd/Makefile @@ -12,6 +12,9 @@ CFLAGS +=
2009 Jul 08
1
[PATCH: host-browser replacement 0/3] replacement of host-browser on ovirt-server
The purpose of this patch is to replace the identify function in host-browser.rb with a new script, host-register.rb. host-register.rb is a qmf ruby console that interfaces with the newly added matahari qmf agent on the ovirt node. While it stores node data in the database with the same behavior as the original host-browser implementation, it acquires the data using the amqp protocol (and
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
...5-0 - use rubygem-krb5-auth diff --git a/scripts/ovirt-vm2node b/scripts/ovirt-vm2node index 1d6104c..4ef3d6c 100755 --- a/scripts/ovirt-vm2node +++ b/scripts/ovirt-vm2node @@ -1,23 +1,15 @@ #!/usr/bin/ruby -$: << '/usr/share/ovirt-server' -$: << '/usr/share/ovirt-server/dutils' +#$: << '/usr/share/ovirt-server' +#$: << '/usr/share/ovirt-server/dutils' -require 'dutils' +#require 'dutils' ########################## retreive host from vm w/ specified name $stdin.each{ |vmname| # get vm name from stdin begin vmna...
2011 Jan 12
9
rhel6 guest fail to do save?
Anyone had tried the save/restore against rhel6 guest? I found it always throw timeout when I tried to save the guest. And only fail with rhel6 guest.(ubuntu, fedora are ok). best regards yang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2018 Jan 09
1
Relationship between clang, opt and llc
//mllvm Options can be dumped by clang -v -help -mllvm and clang -v --help-hidden --> //mllvm Options can be dumped by clang -v -help -mllvm and clang -v --help-hidden -mllvm On Tue, Jan 9, 2018 at 3:09 AM, toddy wang <wenwangtoddy at gmail.com> wrote: > Thanks, Craig. > > So, clang -Xclang -disable-llvm-passes actually disables all the LLVM > passed populated by clang so
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...;%=h @vm.num_vcpus_used %><br/> <%=h @vm.memory_allocated_in_mb %> MB<br/> diff --git a/src/db-omatic/db_omatic.rb b/src/db-omatic/db_omatic.rb index 155ff5e..b469695 100755 --- a/src/db-omatic/db_omatic.rb +++ b/src/db-omatic/db_omatic.rb @@ -10,7 +10,6 @@ require 'dutils' require 'daemons' require 'optparse' require 'logger' -require 'vnc' include Daemonize @@ -159,36 +158,6 @@ class DbOmatic < Qpid::Qmf::Console end end - begin - # find open vm host history for this vm, -...
2012 Jan 05
22
[PATCH] Support Function Level Reset (FLR) in the xen-pciback module (v1) and some fixes.
The attached patches allow the pciback module to perform a reset whenever a PCI device is: - attached to the pciback module, as so: echo "0000:01.07.0" > /sys/bus/pci/devices/pciback/bind - detached from the pciback module, as so: echo "0000:01.07.0" > /sys/bus/pci/devices/pciback/unbind - and when the guest is done with (internally when the guest is not using
2018 Jan 09
0
Relationship between clang, opt and llc
Thanks, Craig. So, clang -Xclang -disable-llvm-passes actually disables all the LLVM passed populated by clang so that there is no middle-end optimization on bc files. clang -O2 LULESH.c //clang is the driver, invoking cc1, cc1as, ld //options can be passed through to cc1 directly. //maybe have different names, e.g.
2018 Jan 09
3
Relationship between clang, opt and llc
Yes that is what he meant. "-dce, -adce, etc" are command line options consumed by tools/opt/opt.cpp to give to the PassManagerBuilder that it creates. The parsing of those options doesn't exist in any of the llvm library code that is linked into clang. Clang has its own code for populating a PassManagerBuilder in tools/clang/lib/CodeGen/BackendUtil.cpp ~Craig On Mon, Jan 8, 2018