search for: pcdata

Displaying 20 results from an estimated 64 matches for "pcdata".

Did you mean: dcdata
2016 Jun 09
1
[PATCH] v2v: OVF: Set <Origin/> field correctly based on source hypervisor.
...let vmtype = match vmtype with `Desktop -> "0" | `Server -> "1" in let ostype = get_ostype inspect in - let origin = - match source.s_hypervisor with - | VMware -> 1 - | Xen -> 2 - | _ -> 0 in + let content_fields = [ + e "Name" [] [PCData source.s_name]; + e "TemplateId" [] [PCData "00000000-0000-0000-0000-000000000000"]; + e "TemplateName" [] [PCData "Blank"]; + e "Description" [] [PCData generated_by]; + e "Domain" [] []; + e "CreationDate" [] [PC...
2017 Apr 06
2
[PATCH] v2v: ovf: Add virtio-rng and memory balloon device
...@@ let rec create_ovf source targets guestcaps inspect ] ]; + (* Add the miscellaneous KVM devices. *) + if guestcaps.gcaps_virtio_rng then + append virtual_hardware_section_items [ + e "Item" [] [ + e "rasd:Description" [] [PCData "RNG Device"]; + e "rasd:InstanceId" [] [PCData (uuidgen ())]; + e "rasd:ResourceType" [] [PCData "0"]; + e "Type" [] [PCData "rng"]; + e "Device" [] [PCData "virtio"]; +...
2018 Mar 02
2
Re: [PATCH v3 1/6] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...rtions(+) > > diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml > index f5e34d79f..87245fdc8 100644 > --- a/v2v/create_ovf.ml > +++ b/v2v/create_ovf.ml > @@ -444,6 +444,9 @@ let rec create_ovf source targets guestcaps inspect > e "rasd:ResourceType" [] [PCData "0"]; > e "Type" [] [PCData "rng"]; > e "Device" [] [PCData "virtio"]; > + e "SpecParams" [] [ > + e "source" [] [PCData "urandom"] > + ] >...
2017 Apr 11
1
[PATCH v2] v2v: ovf: Add virtio-rng and memory balloon device
...,29 @@ let rec create_ovf source targets guestcaps inspect ] ]; + (* Add the miscellaneous KVM devices. *) + if guestcaps.gcaps_virtio_rng then + append virtual_hardware_section_items [ + e "Item" [] [ + e "rasd:Caption" [] [PCData "RNG Device"]; + e "rasd:InstanceId" [] [PCData (uuidgen ())]; + e "rasd:ResourceType" [] [PCData "0"]; + e "Type" [] [PCData "rng"]; + e "Device" [] [PCData "virtio"]; +...
2018 Jul 13
2
[PATCH 1/2] Revert "v2v: oVirt changed the ResourceType for QXL video devices (RHBZ#1598715)."
...+), 3 deletions(-) diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml index 1cba165a4..901d47528 100644 --- a/v2v/create_ovf.ml +++ b/v2v/create_ovf.ml @@ -646,7 +646,7 @@ let rec create_ovf source targets guestcaps inspect e "Item" [] [ e "rasd:Caption" [] [PCData "Graphical Controller"]; e "rasd:InstanceId" [] [PCData (uuidgen ())]; - e "rasd:ResourceType" [] [PCData "32768"]; + e "rasd:ResourceType" [] [PCData "20"]; e "Type" [] [PCData "video...
2017 Mar 17
7
[PATCH v2 0/6] v2v: Pass CPU vendor, model and topology from source to target.
v1 -> v2: - Support for passing topology through -o glance. - Support for passing topology through -o rhv. - Use bool for acpi/apic/pae struct fields in virt-p2v. - Write the xpath expression in error messages instead of file/line. - Fix more memory leaks in virt-p2v cpuid.c. - Passes make check & check-valgrind. There may be some other minor changes. I believe that everything
2016 Jul 07
12
[PATCH v3 0/8] v2v: Move Curl wrapper to mllib and more.
v2 -> v3: - Changes to the Curl API suggested by Pino.
2016 Jul 07
9
[PATCH v2 0/8] v2v: Move Curl wrapper to mllib and use it for virt-builder (and more).
v1 -> v2: - Fixed the bug with precedence of if / @. - Add some imperative list operators inspired by Perl, and use those for constructing the Curl arguments, and more. Rich.
2017 Apr 07
0
Re: [PATCH] v2v: ovf: Add virtio-rng and memory balloon device
...stcaps inspect > ] > ]; > > + (* Add the miscellaneous KVM devices. *) > + if guestcaps.gcaps_virtio_rng then > + append virtual_hardware_section_items [ > + e "Item" [] [ > + e "rasd:Description" [] [PCData "RNG Device"]; Could it be rasd:Caption here? > + e "rasd:InstanceId" [] [PCData (uuidgen ())]; > + e "rasd:ResourceType" [] [PCData "0"]; > + e "Type" [] [PCData "rng"]; > + e &quo...
2018 Feb 28
1
[PATCH] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...| 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml index f5e34d79f..87245fdc8 100644 --- a/v2v/create_ovf.ml +++ b/v2v/create_ovf.ml @@ -444,6 +444,9 @@ let rec create_ovf source targets guestcaps inspect e "rasd:ResourceType" [] [PCData "0"]; e "Type" [] [PCData "rng"]; e "Device" [] [PCData "virtio"]; + e "SpecParams" [] [ + e "source" [] [PCData "urandom"] + ] ] );...
2018 Mar 01
0
[PATCH v3 1/6] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...| 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml index f5e34d79f..87245fdc8 100644 --- a/v2v/create_ovf.ml +++ b/v2v/create_ovf.ml @@ -444,6 +444,9 @@ let rec create_ovf source targets guestcaps inspect e "rasd:ResourceType" [] [PCData "0"]; e "Type" [] [PCData "rng"]; e "Device" [] [PCData "virtio"]; + e "SpecParams" [] [ + e "source" [] [PCData "urandom"] + ] ] );...
2018 Mar 02
0
Re: [PATCH v3 1/6] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...--git a/v2v/create_ovf.ml b/v2v/create_ovf.ml > > index f5e34d79f..87245fdc8 100644 > > --- a/v2v/create_ovf.ml > > +++ b/v2v/create_ovf.ml > > @@ -444,6 +444,9 @@ let rec create_ovf source targets guestcaps inspect > > e "rasd:ResourceType" [] [PCData "0"]; > > e "Type" [] [PCData "rng"]; > > e "Device" [] [PCData "virtio"]; > > + e "SpecParams" [] [ > > + e "source" [] [PCData "urandom"] >...
2018 Jul 09
1
[PATCH] v2v: oVirt changed the ResourceType for QXL video devices (RHBZ#1598715).
...+), 3 deletions(-) diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml index b2a240907..f5f29cdc4 100644 --- a/v2v/create_ovf.ml +++ b/v2v/create_ovf.ml @@ -648,7 +648,7 @@ let rec create_ovf source targets guestcaps inspect e "Item" [] [ e "rasd:Caption" [] [PCData "Graphical Controller"]; e "rasd:InstanceId" [] [PCData (uuidgen ())]; - e "rasd:ResourceType" [] [PCData "20"]; + e "rasd:ResourceType" [] [PCData "32768"]; e "Type" [] [PCData "video...
2018 Jul 13
0
[PATCH 2/2] v2v: change QXL ResourceType in OVirt flavour (RHBZ#1598715)
...1231 for the reasoning * behind that. *) + let qxl_resourcetype = + match ovf_flavour with + | OVirt -> 32768 (* RHBZ#1598715 *) + | RHVExportStorageDomain -> 20 in e "Item" [] [ e "rasd:Caption" [] [PCData "Graphical Controller"]; e "rasd:InstanceId" [] [PCData (uuidgen ())]; - e "rasd:ResourceType" [] [PCData "20"]; + e "rasd:ResourceType" [] [PCData (string_of_int qxl_resourcetype)]; e "Type" [] [PCD...
2018 Feb 18
0
[PATCH 2/3] v2v: ovf: Create OVF more aligned with the standard
...mory /^ 1024L /^ 1024L in @@ -288,12 +288,22 @@ let rec create_ovf source targets guestcaps inspect ] [ Comment generated_by; e "References" [] []; - e "Section" ["xsi:type", "ovf:NetworkSection_Type"] [ - e "Info" [] [PCData "List of networks"] - ]; - e "Section" ["xsi:type", "ovf:DiskSection_Type"] [ - e "Info" [] [PCData "List of Virtual Disks"] - ]; + if rhv_export_flavor then + e "Section" ["xsi:type",...
2007 Jul 26
2
logistic regression
...= seq(.1, .9, .1)), 1), labels = F) t<-table(fitc) #Calculate observed and expected values in ea group E <- matrix(0, nrow=10, ncol = 2) O <- matrix(0, nrow=10, ncol=2) for (j in 1:10) { E[j, 2] = sum(fit[fitc==j]) E[j, 1] = sum((1- fit)[fitc==j]) O[j, 2] = sum(pcdata$lymdis[fitc==j]) O[j, 1] = sum((1-pcdata$lymdis)[fitc==j]) } Here is the error message: Error in Summary.factor(..., na.rm = na.rm) : sum not meaningful for factors I understand what it means; I just can't figure out how to get around it or how to get...
2004 Aug 06
2
SPEEX_SET_USER_HANDLER once again
...oblem is. I can't find any sample code for custom in-band messages. Is there anyone who can help? Here some sample code: /********************************** encoder *********************************************/ // read raw data from serving buffer void CSpeexEncoderThread::Decode(char * pcData, DWORD dwLength){ ... speex_encode(st, s, &bits); // encode ... if (syncmsg == TRUE && synccount < 256){ // is there a sync message? syncstruct[synccount].sync_value = syncvalue; //fill the sync structure...
2017 Apr 13
1
[PATCH] v2v: ovf: store CPU model for oVirt
...ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml index f5dc64753..9d7341696 100644 --- a/v2v/create_ovf.ml +++ b/v2v/create_ovf.ml @@ -306,6 +306,12 @@ let rec create_ovf source targets guestcaps inspect e "DefaultDisplayType" [] [PCData "1"]; ] in + (match source.s_cpu_model with + | None -> () + | Some model -> + push_back content_subnodes (e "CustomCpuName" [] [PCData model]) + ); + (* Add the <Origin/> element if we can. *) (match origin_of...
2018 Jun 15
1
[PATCH] v2v: -o libvirt: Don't write only <vendor> without <model> (RHBZ#1591789).
...ml.ml @@ -51,15 +51,17 @@ let create_libvirt_xml ?pool source target_buses guestcaps source.s_cpu_topology <> None then ( let cpu = ref [] in - (match source.s_cpu_vendor with - | None -> () - | Some vendor -> - List.push_back cpu (e "vendor" [] [PCData vendor]) - ); - (match source.s_cpu_model with - | None -> () - | Some model -> + (match source.s_cpu_vendor, source.s_cpu_model with + | None, None + (* Avoid libvirt error: "CPU vendor specified without CPU model" *) + | Some _, None -> () + | N...
2018 Apr 20
1
[PATCH] v2v: rework handling of CPU topology
...rce.s_cpu_topology <> None then ( let cpu = ref [] in (match source.s_cpu_vendor with @@ -62,22 +61,15 @@ let create_libvirt_xml ?pool source target_buses guestcaps | Some model -> List.push_back cpu (e "model" ["fallback", "allow"] [PCData model]) ); - if source.s_cpu_sockets <> None || source.s_cpu_cores <> None || - source.s_cpu_threads <> None then ( - let topology_attrs = ref [] in - (match source.s_cpu_sockets with - | None -> () - | Some v -> List.push_back topology_at...