Displaying 20 results from an estimated 36 matches for "get_info".
2007 Aug 21
0
2 commits - test/trace
...e;
+ }
+ o.__proto__[prop] = "to-be-deleted";
+ delete o.__proto__[prop];
+ return result;
+ }
+ }
+ result = hasOwnProperty (o, prop);
+ o.__proto__ = old;
+ return result;
+ }
+}
+
+
function new_info () {
return new_empty_object ();
}
@@ -21,52 +90,82 @@ function get_info (info, prop, id) {
return info[prop + "_-_" + id];
}
-// print all properties of a given object, flags are:
-// h = hidden
-// p = permanent
-// P = permanent even without propflag
-// c = constant
-// C = constant even without propflag
-function trace_properties (o)
+function is_bl...
2006 Jun 01
1
[PATCH] Make xentrace hypercall a bit more sane
xentrace, setsize and the hypervisor don''t seem to be on the same
page. If tracing is not enabled, the hypercall will only allow
TBUF_SET_SIZE and TBUF_ENABLE. However, set_size calls TBUF_GET_INFO,
and xentrace wants to call TBUF_SET_EVT_MASK and TBUF_SET_CPU_MASK
before calling TBUF_ENABLE.
I don''t see any reason not to call SET_*_MASK and GET_INFO if tracing
is not enabled. If the buffer hasn''t been allocated yet, GET_INFO
should just return something invalid in the m...
2007 Aug 20
0
3 commits - libswfdec/swfdec_as_context.c test/trace
...= new Object ();
+ ASSetPropFlags (hash, null, 0, 7);
+ for (var prop in hash) {
+ delete hash[prop];
+ }
+ return hash;
+}
+
+function new_info () {
+ return new_empty_object ();
+}
+
+function set_info (info, prop, id, value) {
+ info[prop + "_-_" + id] = value;
+}
+
+function get_info (info, prop, id) {
+ return info[prop + "_-_" + id];
+}
+
+// print all properties of a given object, flags are:
+// h = hidden
+// p = permanent
+// P = permanent even without propflag
+// c = constant
+// C = constant even without propflag
+function trace_properties (o)
+{
+ var info...
2012 Dec 11
1
Need help regarding perl sys::virt
...: " . $@->message . "\n";
}
for my $dom ($vmm->list_domains, $vmm->list_defined_domains) {
## see perldoc Sys::Virt::Domain
print "name: ", $dom->get_name, "\n";
print "uuid: ", $dom->get_uuid_string(), "\n";
## $dom->get_info returns a hash reference
dump $dom->get_info;
print "\n";
}
Regards,
Rawat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121211/d16f6e2b/attachment.htm>
2011 Jan 10
3
How to check a number online or offline
Hi all,
Now i want to check a number (channel) online, offline or unreachable on
asterisk but i don`t know to do. Can anyone help me to solve this issue.
Thanks and best regard!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110109/c193b48d/attachment.html>
2006 Mar 07
8
[PATCH] xm,xend: flesh out xm sched-sedf
...gt;
[BackDomId] Create a new virtual block device"""
block_detach_help = """block-detach <DomId> <DevId> Destroy a domain''s virtual block device,
@@ -377,6 +387,20 @@
}
+def parse_sedf_info(info):
+ def get_info(n, t, d):
+ return t(sxp.child_value(info, n, d))
+
+ return {
+ ''dom'' : get_info(''domain'', int, -1),
+ ''period'' : get_info(''period'', int, -1),
+ ''slice''...
2009 Feb 08
1
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
...,0
+ jz .vfat_find_info ; We're done with the name
+ add si,DIRENT_SIZE
+ dec cx
+ jnz .vfat_entry
+ call nextsector
+ jnc .vfat_entry ; CF is set if we're at end
+ jmp .fail
+.vfat_find_info: ; Fetch next entry for the size/"INode"
+ add si,DIRENT_SIZE
+ dec cx
+ jnz .get_info
+ call nextsector
+ jnc .get_info ; CF is set if we're at end
+ jmp .fail
+.vfat_abort: ; Something went wrong, skip
+ pop di
+ pop si
+ pop ecx
+ pop eax
+ jmp .skip_entry
+
+.short_entry:
+ test byte [gs:si+11],8 ; Ignore volume labels //HERE
+ jnz .skip_entry
+ mov edx,eax ;S...
2008 Dec 04
2
[PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
...,0
+ jz .vfat_find_info ; We're done with the name
+ add si,DIRENT_SIZE
+ dec cx
+ jnz .vfat_entry
+ call nextsector
+ jnc .vfat_entry ; CF is set if we're at end
+ jmp .fail
+.vfat_find_info: ; Fetch next entry for the size/"INode"
+ add si,DIRENT_SIZE
+ dec cx
+ jnz .get_info
+ call nextsector
+ jnc .get_info ; CF is set if we're at end
+ jmp .fail
+.vfat_abort: ; Something went wrong, skip
+ pop di
+ pop si
+ pop ecx
+ pop eax
+ jmp .skip_entry
+
+.short_entry:
+ test byte [gs:si+11],8 ; Ignore volume labels //HERE
+ jnz .skip_entry
+ mov edx,eax ;S...
2006 Apr 16
0
scaffolding issue - new action defaults to list action
...d was playing with scaffolding.
I generated these scaffolds:
ruby script/generate scaffold Photo admin/photo
ruby script/generate scaffold Camera admin/camera
Then, in my routes, I added this line:
map.connect ''/admin'', :controller=>"admin/photo", :action=> "get_info"
The scaffolds work fine for everything with the exception of creating a
new photo or new camera. I can edit, destory, show and list. However,
when I hit the new button the url changes correctly:
http://localhost:3000/admin/photo
changes to
http://localhost:3000/admin/photo/new
However,...
2009 Mar 01
0
[PATCH 1/3] COMBOOT API: Improve readdir
...ot_dir:
+ add ax,0100000o ; Regular file
+.done:
+ mov dx,ax
+ jmp .end
+.zero: ; Any condition that will result in an all zero return
+ mov dx,0
+.end:
+ pop eax
+ ret
+
+;
; readdir: Read one file from a directory
;
; ES:DI -> String buffer (filename)
@@ -1550,6 +1584,7 @@ readdir:
.get_info:
mov ebx,[gs:si+28] ; length
mov dl,[gs:si+11] ; type
+ call fatattr_to_st_mode
.next_entry:
add si,DIRENT_SIZE
dec cx
diff --git a/doc/comboot.txt b/doc/comboot.txt
index 5f57da7..135a5bc 100644
--- a/doc/comboot.txt
+++ b/doc/comboot.txt
@@ -947,16 +947,17 @@ AX=0021h [3.74] Read di...
2010 Mar 31
3
[PATCH] Remove v2v-snapshot
..."storage pool: {error}",
- error => $@->stringify()))
- unless(defined($pool));
- exit(1);
- }
- }
-
- # Check that the pool is usable
- my $pool_info = $pool->get_info();
-
- # If it's inactive, start it
- if($pool_info->{state} == Sys::Virt::StoragePool::STATE_INACTIVE) {
- eval {
- $pool->create();
- };
-
- if($@) {
- print STDERR user_message(__x("Unable to start v2v-snapshot ".
-...
2006 Mar 20
11
has_many brings back ''uninitialized constant''
hello. first things first - I am new to ruby on rails (ruby, too), so
I''m figuring this is just a basic newbie error.
I''m creating a basic photography website. And I have two tables with a
relationship:
photos:
- id (set up as PK)
- title
- shutter
- aperture
- date
- the_order
...etc
photo_comments:
- id (set up as a PK)
- photos_id (set up as a FK)
- author
- date
-
2010 Jan 29
4
[FOR REVIEW ONLY] ESX work in progress
The following patches are where I'm currently at with ESX support. I can now
import a domain from ESX along with its storage. Note that I'm not yet doing any
conversion. In fact, I've never even tested past the import stage (I just had an
exit in there).
The meat is really in the 4th patch. The rename of MetadataReader->Connection
was because the Connection is now really providing
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...self->_get_domain();
+ my $uri = $self->{uri};
- # Check the domain is shutdown
- die(user_message(__x("Guest {name} is currently {state}. It must be ".
- "shut down first.",
- state => _state_string($domain->get_info()->{state}),
- name => $self->{name})))
- unless ($domain->get_info()->{state} ==
- Sys::Virt::Domain::STATE_SHUTOFF);
-}
+ if ($uri->scheme eq "esx") {
+ my %query = $uri->query_form;
+ my $noverify = $qu...
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...- var hidden = new Array ();
for (var prop in o)
{
- // only get the ones that are not only in the __proto__
if (is_blaclisted (o, prop) == false) {
+ // only get the ones that are not only in the __proto__
if (hasOwnProperty (o, prop) == true) {
all.push (prop);
- if (get_info (info, prop, "hidden") != false) {
- set_info (info, prop, "hidden", true);
- hidden.push (prop);
- }
}
}
}
all.sort ();
// hide the ones that were already hidden
- ASSetPropFlags (o, hidden, 1, 0);
+ ASSetPropFlags (o, null, 1, 0);
+ ASSetPropFlags...
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from
ESX with the following command line:
virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64
Login details are stored in ~/.netrc
Note that this is the only guest I've tested against. I haven't for example,
checked that I haven't broken Xen imports.
Matt
[1] With the exception of
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...= new Object ();
+ ASSetPropFlags (hash, null, 0, 7);
+ for (var prop in hash) {
+ delete hash[prop];
+ }
+ return hash;
+}
+
+function new_info () {
+ return new_empty_object ();
+}
+
+function set_info (info, prop, id, value) {
+ info[prop + "_-_" + id] = value;
+}
+
+function get_info (info, prop, id) {
+ return info[prop + "_-_" + id];
+}
+
+// print all properties of a given object, flags are:
+// h = hidden
+// p = permanent
+// P = permanent even without propflag
+// c = constant
+// C = constant even without propflag
+function trace_properties (o)
+{
+ var info...
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
...t;`R] t -> int64 = "ocaml_libvirt_domain_get_max_memory"
+ external set_max_memory : [>`W] t -> int64 -> unit = "ocaml_libvirt_domain_set_max_memory"
+ external set_memory : [>`W] t -> int64 -> unit = "ocaml_libvirt_domain_set_memory"
+ external get_info : [>`R] t -> info = "ocaml_libvirt_domain_get_info"
+ external get_xml_desc : [>`R] t -> xml = "ocaml_libvirt_domain_get_xml_desc"
+ external get_xml_desc_flags : [>`W] t -> xml_desc_flag list -> xml = "ocaml_libvirt_domain_get_xml_desc_flags"
+...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * *
This series of VMCI linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with -strict
errors.
This addresses Greg's comment: On 15 Nov 2012
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * *
This series of VMCI linux upstreaming patches include latest udpate from
VMware to address Greg's and all other's code review comments.
Summary of changes:
- Rebase our linux kernel tree from v3.5 to v3.7.
- Fix all checkpatch warnings and errors. Fix some checkpatch with -strict
errors.
This addresses Greg's comment: On 15 Nov 2012