Displaying 20 results from an estimated 27 matches for "gcaps_virtio_balloon".
2017 Apr 06
2
[PATCH] v2v: ovf: Add virtio-rng and memory balloon device
...e "rasd:InstanceId" [] [PCData (uuidgen ())];
+ e "rasd:ResourceType" [] [PCData "0"];
+ e "Type" [] [PCData "rng"];
+ e "Device" [] [PCData "virtio"];
+ ]
+ ];
+ if guestcaps.gcaps_virtio_balloon then
+ append virtual_hardware_section_items [
+ e "Item" [] [
+ e "rasd:Description" [] [PCData "Memory Ballooning Device"];
+ e "rasd:InstanceId" [] [PCData (uuidgen ())];
+ e "rasd:ResourceType" []...
2017 Apr 05
1
Re: [PATCH 5/6] v2v: -o libvirt: Add virtio-rng, balloon and pvpanic to output XML (RHBZ#1438794).
...] [
> + (* XXX Using /dev/urandom requires libvirt >= 1.3.4. Libvirt
> + * was broken before that.
> + *)
> + e "backend" ["model", "random"] [PCData "/dev/urandom"]
> + ]
> + );
> + if guestcaps.gcaps_virtio_balloon then
> + push_back devices (e "memballoon" ["model", "virtio"] []);
For (unpleasant) historical reasons you'll always get a virtio balloon
device added by libvirt. If you don't want balloon enabled you have to
explicitly give model=none
> + if guest...
2018 Mar 02
2
Re: [PATCH v3 1/6] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...] [PCData "rng"];
> e "Device" [] [PCData "virtio"];
> + e "SpecParams" [] [
> + e "source" [] [PCData "urandom"]
> + ]
> ]
> );
> if guestcaps.gcaps_virtio_balloon then
> @@ -454,6 +457,9 @@ let rec create_ovf source targets guestcaps inspect
> e "rasd:ResourceType" [] [PCData "0"];
> e "Type" [] [PCData "balloon"];
> e "Device" [] [PCData "memballoon&quo...
2018 Jun 19
2
[PATCH] v2v: Set machine type explicitly for outputs which support it (RHBZ#1581428).
...Q35
+ | _ -> Virt in
+
(* Return guest capabilities from the convert () function. *)
let guestcaps = {
gcaps_block_bus = block_type;
@@ -130,6 +149,7 @@ let convert (g : G.guestfs) inspect source output rcaps =
gcaps_virtio_rng = kernel.ki_supports_virtio_rng;
gcaps_virtio_balloon = kernel.ki_supports_virtio_balloon;
gcaps_isa_pvpanic = kernel.ki_supports_isa_pvpanic;
+ gcaps_machine = machine;
gcaps_arch = Utils.kvm_arch inspect.i_arch;
gcaps_acpi = acpi;
} in
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 163319545..97882c...
2018 Jul 19
0
[PATCH] v2v: Model machine type explicitly.
...0FX
+ | _ -> Virt in
+
(* Return guest capabilities from the convert () function. *)
let guestcaps = {
gcaps_block_bus = block_type;
@@ -130,6 +136,7 @@ let convert (g : G.guestfs) inspect source output rcaps =
gcaps_virtio_rng = kernel.ki_supports_virtio_rng;
gcaps_virtio_balloon = kernel.ki_supports_virtio_balloon;
gcaps_isa_pvpanic = kernel.ki_supports_isa_pvpanic;
+ gcaps_machine = machine;
gcaps_arch = Utils.kvm_arch inspect.i_arch;
gcaps_acpi = acpi;
} in
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 163319545..1e0581...
2018 Jun 19
0
Re: [PATCH] v2v: Set machine type explicitly for outputs which support it (RHBZ#1581428).
...> (* Return guest capabilities from the convert () function. *)
> let guestcaps = {
> gcaps_block_bus = block_type;
> @@ -130,6 +149,7 @@ let convert (g : G.guestfs) inspect source output rcaps =
> gcaps_virtio_rng = kernel.ki_supports_virtio_rng;
> gcaps_virtio_balloon = kernel.ki_supports_virtio_balloon;
> gcaps_isa_pvpanic = kernel.ki_supports_isa_pvpanic;
> + gcaps_machine = machine;
> gcaps_arch = Utils.kvm_arch inspect.i_arch;
> gcaps_acpi = acpi;
> } in
> diff --git a/v2v/convert_windows.ml b/v2v/convert_wind...
2017 Apr 05
7
[PATCH 0/6] v2v: Add drivers for virtio-rng, balloon, pvpanic.
Yaniv pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1438794
that virt-v2v both doesn't install the virtio-rng driver for Windows,
and doesn't give the guest a virtio-rng PCI device either.
There are two problems here:
Firstly the Windows virtio-rng driver isn't included in the exploded
tree (/usr/share/virtio-win) so it doesn't get copied into the guest.
The solution
2017 Apr 11
1
[PATCH v2] v2v: ovf: Add virtio-rng and memory balloon device
...e "rasd:InstanceId" [] [PCData (uuidgen ())];
+ e "rasd:ResourceType" [] [PCData "0"];
+ e "Type" [] [PCData "rng"];
+ e "Device" [] [PCData "virtio"];
+ ]
+ ];
+ if guestcaps.gcaps_virtio_balloon then
+ append virtual_hardware_section_items [
+ e "Item" [] [
+ e "rasd:Caption" [] [PCData "Memory Ballooning Device"];
+ e "rasd:InstanceId" [] [PCData (uuidgen ())];
+ e "rasd:ResourceType" [] [PC...
2017 Apr 05
9
[PATCH v2 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1 was posted here:
https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v1 -> v2:
- Add support for -o glance.
- Add support for -o qemu.
- Fix the -o libvirt support for balloon as pointed out by Dan.
- Fix a test failure caused by changing libvirt XML output.
Rich.
2017 Apr 06
9
[PATCH v3 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html
v2 -> v3:
- Fix Xen PV-only kernel detection.
Rich.
2017 Apr 06
12
[PATCH v4 0/9] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html
v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html
v3: https://www.redhat.com/archives/libguestfs/2017-April/msg00051.html
v3 -> v4:
- Properly fix Xen PV-only kernel detection, and test it.
Rich.
2017 Apr 05
0
[PATCH 5/6] v2v: -o libvirt: Add virtio-rng, balloon and pvpanic to output XML (RHBZ#1438794).
...uot;model", "virtio"] [
+ (* XXX Using /dev/urandom requires libvirt >= 1.3.4. Libvirt
+ * was broken before that.
+ *)
+ e "backend" ["model", "random"] [PCData "/dev/urandom"]
+ ]
+ );
+ if guestcaps.gcaps_virtio_balloon then
+ push_back devices (e "memballoon" ["model", "virtio"] []);
+ if guestcaps.gcaps_isa_pvpanic then
+ push_back devices (
+ e "panic" ["model", "isa"] [
+ e "address" ["type", "isa"; &qu...
2017 Apr 07
0
Re: [PATCH] v2v: ovf: Add virtio-rng and memory balloon device
...[] [PCData (uuidgen ())];
> + e "rasd:ResourceType" [] [PCData "0"];
> + e "Type" [] [PCData "rng"];
> + e "Device" [] [PCData "virtio"];
> + ]
> + ];
> + if guestcaps.gcaps_virtio_balloon then
> + append virtual_hardware_section_items [
> + e "Item" [] [
> + e "rasd:Description" [] [PCData "Memory Ballooning Device"];
Ditto.
> + e "rasd:InstanceId" [] [PCData (uuidgen ())];
> +...
2018 Feb 28
1
[PATCH] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...;
e "Type" [] [PCData "rng"];
e "Device" [] [PCData "virtio"];
+ e "SpecParams" [] [
+ e "source" [] [PCData "urandom"]
+ ]
]
);
if guestcaps.gcaps_virtio_balloon then
@@ -454,6 +457,9 @@ let rec create_ovf source targets guestcaps inspect
e "rasd:ResourceType" [] [PCData "0"];
e "Type" [] [PCData "balloon"];
e "Device" [] [PCData "memballoon"];
+ e...
2018 Mar 01
0
[PATCH v3 1/6] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...;
e "Type" [] [PCData "rng"];
e "Device" [] [PCData "virtio"];
+ e "SpecParams" [] [
+ e "source" [] [PCData "urandom"]
+ ]
]
);
if guestcaps.gcaps_virtio_balloon then
@@ -454,6 +457,9 @@ let rec create_ovf source targets guestcaps inspect
e "rasd:ResourceType" [] [PCData "0"];
e "Type" [] [PCData "balloon"];
e "Device" [] [PCData "memballoon"];
+ e...
2018 Mar 02
0
Re: [PATCH v3 1/6] v2v: rhv: Fix virtio-rng and memballoon OVF fragment for RHV.
...t; e "Device" [] [PCData "virtio"];
> > + e "SpecParams" [] [
> > + e "source" [] [PCData "urandom"]
> > + ]
> > ]
> > );
> > if guestcaps.gcaps_virtio_balloon then
> > @@ -454,6 +457,9 @@ let rec create_ovf source targets guestcaps inspect
> > e "rasd:ResourceType" [] [PCData "0"];
> > e "Type" [] [PCData "balloon"];
> > e "Device" [] [PCData...
2018 Mar 01
7
[PATCH v3 0/6] v2v: Add -o rhv-upload output mode.
v2 -> v3:
- Lots of code cleanups.
- Documentation.
However this is still spooling the file into a temporary before the
upload. It turns out that fixing this is going to require a small
change to qemu.
Rich.
2019 Feb 25
0
[PATCH 3/3] v2v: add -o json output mode
..., JSON.String net_bus;
+ "video", JSON.String video;
+ "machine", JSON.String machine;
+ "arch", JSON.String guestcaps.gcaps_arch;
+ "virtio-rng", JSON.Bool guestcaps.gcaps_virtio_rng;
+ "virtio-balloon", JSON.Bool guestcaps.gcaps_virtio_balloon;
+ "isa-pvpanic", JSON.Bool guestcaps.gcaps_isa_pvpanic;
+ "acpi", JSON.Bool guestcaps.gcaps_acpi;
+ ] in
+ List.push_back doc ("guestcaps", JSON.Dict guestcaps_dict);
+
+ (match source.s_sound with
+ | None -> ()
+ | Some { s_sound_model = model...
2019 Mar 29
0
[PATCH v2 3/3] v2v: add -o json output mode
..., JSON.String net_bus;
+ "video", JSON.String video;
+ "machine", JSON.String machine;
+ "arch", JSON.String guestcaps.gcaps_arch;
+ "virtio-rng", JSON.Bool guestcaps.gcaps_virtio_rng;
+ "virtio-balloon", JSON.Bool guestcaps.gcaps_virtio_balloon;
+ "isa-pvpanic", JSON.Bool guestcaps.gcaps_isa_pvpanic;
+ "acpi", JSON.Bool guestcaps.gcaps_acpi;
+ ] in
+ List.push_back doc ("guestcaps", JSON.Dict guestcaps_dict);
+
+ (match source.s_sound with
+ | None -> ()
+ | Some { s_sound_model = model...
2017 Nov 21
2
[PATCH v3 0/2] common/mlstdutils: Extend the List module.
v2 -> v3:
- Renamed List.assoc_ -> List.assoc_lbl.
- Rebased on top of current master branch.
Rich.