Displaying 15 results from an estimated 15 matches for "disk_".
Did you mean:
disk
2015 Dec 01
3
[PATCHv2] New API: part_expand_gpt.
...long with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+use strict;
+use warnings;
+
+use Sys::Guestfs;
+
+sub tests {
+ my $g = Sys::Guestfs->new ();
+
+ foreach ("gpt", "mbr") {
+ $g->disk_create ("disk_$_.img", "qcow2", 50 * 1024 * 1024);
+ $g->add_drive ("disk_$_.img");
+ }
+
+ $g->launch ();
+
+ $g->part_disk ("/dev/sda", "gpt");
+ $g->part_disk ("/dev/sdb", "mbr");
+
+ $g->close ();
+
+ die if sy...
2015 Dec 22
0
Re: [PATCHv2] New API: part_expand_gpt.
...gt; +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
> +
> +use strict;
> +use warnings;
> +
> +use Sys::Guestfs;
> +
> +sub tests {
> + my $g = Sys::Guestfs->new ();
> +
> + foreach ("gpt", "mbr") {
> + $g->disk_create ("disk_$_.img", "qcow2", 50 * 1024 * 1024);
> + $g->add_drive ("disk_$_.img");
> + }
> +
> + $g->launch ();
> +
> + $g->part_disk ("/dev/sda", "gpt");
> + $g->part_disk ("/dev/sdb", "mbr");...
2016 Jan 20
1
[PATCHv2] New API: part_expand_gpt.
...++++++++++++++++++++++++++++++++++++++
5 files changed, 120 insertions(+), 2 deletions(-)
create mode 100755 tests/daemon/test-expand-gpt.pl
diff --git a/daemon/parted.c b/daemon/parted.c
index 22cd92b..00ae424 100644
--- a/daemon/parted.c
+++ b/daemon/parted.c
@@ -1003,3 +1003,37 @@ do_part_set_disk_guid_random (const char *device)
return 0;
}
+
+int
+do_part_expand_gpt(const char *device)
+{
+ CLEANUP_FREE char *err = NULL;
+
+ /* If something is broken, sgdisk may try to correct it.
+ * (e.g. recreate partition table and so on).
+ * We do not want such behavior, so dry-run at first...
2015 Apr 14
5
Re: VM Performance using KVM Vs. VMware ESXi
Thanks Dominique & Daniel.
Looks like i need to upgrade my VMs kernel to make it aware of virtio.
Found this information from this link:
http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver
I tried without upgrading the Kernel and as soon as i start my VM it got
into Kernel Panic. I will try using virtio after upgrading my VMs kernel.
Thanks for all the responses and pointers.
Thanks
Jatin
On 4/14/2015 5:08 PM, Dominique Ramaekers wrote:
> Please read:...
2015 Apr 14
4
Re: VM Performance using KVM Vs. VMware ESXi
...ghes wrote:
> On 14/04/15 13:33, Jatin Davey wrote:
>
>> Thanks Dominique & Daniel.
>>
>> Looks like i need to upgrade my VMs kernel to make it aware of virtio.
>>
>> Found this information from this link:
>>
>> http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver
>>
>> I tried without upgrading the Kernel and as soon as i start my VM it got
>> into Kernel Panic. I will try using virtio after upgrading my VMs
>> kernel.
>
> As somebody has already said it would have to be a really old kernel
> to no...
2015 Apr 14
2
Re: VM Performance using KVM Vs. VMware ESXi
On 4/14/2015 4:58 PM, Daniel P. Berrange wrote:
> On Tue, Apr 14, 2015 at 04:53:52PM +0530, Jatin Davey wrote:
>> On 4/14/2015 4:42 PM, Dominique Ramaekers wrote:
>>> About Spice: I think it’s good practice to use spice because it improves
>>> the performance of the VM in general by improving screen performance. If
>>> your VM is constantly displaying output,
2016 May 19
0
[PATCH 1/3] tests: specify the image format when possible
...--format raw -a $f
echo
fi
done
diff --git a/test-data/phony-guests/make-fedora-img.pl b/test-data/phony-guests/make-fedora-img.pl
index 192f48f..5a6adab 100755
--- a/test-data/phony-guests/make-fedora-img.pl
+++ b/test-data/phony-guests/make-fedora-img.pl
@@ -62,7 +62,7 @@ EOF
$g->disk_create ("fedora.img-t", "raw", $IMAGE_SIZE);
- $g->add_drive ("fedora.img-t");
+ $g->add_drive ("fedora.img-t", format => "raw");
$g->launch ();
$g->part_init ('/dev/sda', 'mbr');
@@ -87,7 +87,7 @@ EOF...
2015 Apr 14
0
Re: VM Performance using KVM Vs. VMware ESXi
On 14/04/15 13:33, Jatin Davey wrote:
> Thanks Dominique & Daniel.
>
> Looks like i need to upgrade my VMs kernel to make it aware of virtio.
>
> Found this information from this link:
>
> http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver
>
> I tried without upgrading the Kernel and as soon as i start my VM it got
> into Kernel Panic. I will try using virtio after upgrading my VMs kernel.
As somebody has already said it would have to be a really old kernel to
not handle virtio-block, and it's...
2015 Apr 15
0
Re: VM Performance using KVM Vs. VMware ESXi
...33, Jatin Davey wrote:
>>
>>> Thanks Dominique & Daniel.
>>>
>>> Looks like i need to upgrade my VMs kernel to make it aware of virtio.
>>>
>>> Found this information from this link:
>>>
>>> http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver
>>>
>>> I tried without upgrading the Kernel and as soon as i start my VM it got
>>> into Kernel Panic. I will try using virtio after upgrading my VMs
>>> kernel.
>>
>> As somebody has already said it would have to be a really...
2015 Apr 14
0
Re: VM Performance using KVM Vs. VMware ESXi
...et virtio working,
I'm curious...
schu
On 4/14/2015 5:33 AM, Jatin Davey wrote:
> Thanks Dominique & Daniel.
>
> Looks like i need to upgrade my VMs kernel to make it aware of virtio.
>
> Found this information from this link:
>
> http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver
>
> I tried without upgrading the Kernel and as soon as i start my VM it
> got into Kernel Panic. I will try using virtio after upgrading my VMs
> kernel.
>
> Thanks for all the responses and pointers.
>
> Thanks
> Jatin
>
> On 4/14/2015 5...
2016 May 19
6
[PATCH 0/3] misc tests-only changes
Hi,
small series with small improvements to the tests.
Pino Toscano (3):
tests: specify the image format when possible
tests: remove remaining relative paths to binaries
fish: generate test-prep.sh with generator
.gitignore | 1 +
align/test-virt-alignment-scan.sh | 2 +-
cat/Makefile.am | 2 +-
cat/test-virt-cat.sh
2015 Apr 14
1
Re: VM Performance using KVM Vs. VMware ESXi
...ous...
>
> schu
>
>
>
> On 4/14/2015 5:33 AM, Jatin Davey wrote:
>
> Thanks Dominique & Daniel.
>
> Looks like i need to upgrade my VMs kernel to make it aware of virtio.
>
> Found this information from this link:
>
> http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver
>
> I tried without upgrading the Kernel and as soon as i start my VM it got
> into Kernel Panic. I will try using virtio after upgrading my VMs kernel.
>
> Thanks for all the responses and pointers.
>
> Thanks
> Jatin
>
> On 4/14/2015 5:08 PM,...
2012 Apr 02
23
[PATCH 00 of 18] [v2] tools: fix bugs and build errors triggered by -O2 -Wall -Werror
Changes:
tools/blktap: remove unneeded pointer dereferencing in convert_dev_name_to_num
tools/blktap: constify string arrays in convert_dev_name_to_num
tools/blktap: fix params and physical-device parsing
tools/blktap: remove unneeded pointer dereferencing from img2qcow.c
tools/blktap: remove unneeded pointer dereferencing from qcow2raw.c
tools/blktap2: fix build errors caused by Werror in
2016 Aug 17
20
[PATCH 00/15] Fix issue with KOBJ_ADD uevent versus disk attributes
...round device_add_disk code, (or add FIXME
comment where work is left).
Fam Zheng (15):
disk: Drop add_disk in favor of device_add_disk
genhd: Return error from register_disk()
genhd: Return error from blk_register_region
block: Return error from blk_integrity_add
genhd: Return error from disk_{add,alloc}_events
genhd: Add return code to device_add_disk
genhd: Add attribute group parameter to device_add_disk
nvme: Pass attribute group to device_add_disk
virtio-blk: Pass attribute group to device_add_disk
mtd: Pass attribute group to device_add_disk
zram: Pass attribute group t...
2016 Aug 17
20
[PATCH 00/15] Fix issue with KOBJ_ADD uevent versus disk attributes
...round device_add_disk code, (or add FIXME
comment where work is left).
Fam Zheng (15):
disk: Drop add_disk in favor of device_add_disk
genhd: Return error from register_disk()
genhd: Return error from blk_register_region
block: Return error from blk_integrity_add
genhd: Return error from disk_{add,alloc}_events
genhd: Add return code to device_add_disk
genhd: Add attribute group parameter to device_add_disk
nvme: Pass attribute group to device_add_disk
virtio-blk: Pass attribute group to device_add_disk
mtd: Pass attribute group to device_add_disk
zram: Pass attribute group t...