search for: d6dd9a5

Displaying 4 results from an estimated 4 matches for "d6dd9a5".

Did you mean: cd6d9a5
2016 Jan 18
0
[PATCH] resize: fsync the output file before closing the libvirt connection.
...e code since we can reopen the connection (if using --expand for example). See also the description here: https://www.redhat.com/archives/libvir-list/2016-January/msg00767.html --- resize/resize.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resize/resize.ml b/resize/resize.ml index d6dd9a5..5e9f108 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -1283,6 +1283,9 @@ read the man page virt-resize(1). let g = if to_be_expanded then ( + g#sync (); + Fsync.file outfile; + g#shutdown (); g#close (); @@ -1354,6 +1357,9 @@ read the man page virt-res...
2016 Jan 18
0
[PATCH v2] resize, builder: fsync the output file before closing the libvirt connection.
...sync then ( + (* Work around libvirt 15 second timeout waiting for qemu + https://www.redhat.com/archives/libvir-list/2016-January/msg00767.html *) + g#sync (); + Fsync.file output_filename + ); + g#shutdown (); g#close (); diff --git a/resize/resize.ml b/resize/resize.ml index d6dd9a5..84e38be 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -1283,6 +1283,11 @@ read the man page virt-resize(1). let g = if to_be_expanded then ( + (* Work around libvirt 15 second timeout waiting for qemu + https://www.redhat.com/archives/libvir-list/2016-January/msg00767...
2016 Jan 19
0
[PATCHv2 3/3] resize: preserve GPT disk GUID.
Changed disk GUID makes some OSes fail to boot. To enable virt-resize to support such OSes we have to preserve disk GUID. --- resize/resize.ml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resize/resize.ml b/resize/resize.ml index d6dd9a5..8ff4793 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -407,6 +407,13 @@ read the man page virt-resize(1). error (f_"%s: unknown partition table type\nvirt-resize only supports MBR (DOS) and GPT partition tables.") (fst infile) in + let disk_guid = + match p...
2016 Jan 19
4
[PATCHv2 0/3] Get/set disk GPT GUID API and support in virt-resize.
Some OSes (e.g. Windows Server 2012 R2) fail to boot after virt-resize due to changed disk guid. To fix it, we add new APIs: part_get_disk_guid part_set_disk_guid part_set_disk_guid_random We also preserve disk GUID in virt-resize. Maxim Perevedentsev (3): New API: part_get_disk_guid and part_set_disk_guid. New API: part_set_disk_guid_random. resize: preserve GPT disk GUID.