Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 901471 Details for
Bug 1102881
virDomainBlockCommit fails with live snapshots on oVirt block storage
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
New qemu debug patch
qemu-debug.patch (text/plain), 2.16 KB, created by
Adam Litke
on 2014-06-02 14:36:27 UTC
(
hide
)
Description:
New qemu debug patch
Filename:
MIME Type:
Creator:
Adam Litke
Created:
2014-06-02 14:36:27 UTC
Size:
2.16 KB
patch
obsolete
>diff -pu qemu-1.6.2.orig/block.c qemu-1.6.2/block.c >--- qemu-1.6.2.orig/block.c 2014-05-23 16:21:33.851990549 -0400 >+++ qemu-1.6.2/block.c 2014-06-02 10:10:21.147729407 -0400 >@@ -45,6 +45,8 @@ > #endif > #endif > >+#include <string.h> >+ > #ifdef _WIN32 > #include <windows.h> > #endif >@@ -3294,6 +3296,7 @@ BlockDriverState *bdrv_find_backing_imag > if (!bs || !bs->drv || !backing_file) { > return NULL; > } >+ printf("bdrv_find_backing_image: looking for %s\n", backing_file); > > filename_full = g_malloc(PATH_MAX); > backing_file_full = g_malloc(PATH_MAX); >@@ -3302,11 +3305,12 @@ BlockDriverState *bdrv_find_backing_imag > is_protocol = path_has_protocol(backing_file); > > for (curr_bs = bs; curr_bs->backing_hd; curr_bs = curr_bs->backing_hd) { >- >+ printf(" -> %s\n", curr_bs->backing_file); > /* If either of the filename paths is actually a protocol, then > * compare unmodified paths; otherwise make paths relative */ > if (is_protocol || path_has_protocol(curr_bs->backing_file)) { > if (strcmp(backing_file, curr_bs->backing_file) == 0) { >+ printf("1\n"); > retval = curr_bs->backing_hd; > break; > } >@@ -3318,6 +3322,9 @@ BlockDriverState *bdrv_find_backing_imag > > /* We are going to compare absolute pathnames */ > if (!realpath(filename_tmp, filename_full)) { >+ printf("2\n"); >+ printf("\ttmp: %s\n\tfull: %s\n", filename_tmp, filename_full); >+ printf("realpath failed with error: %s\n", strerror(errno)); > continue; > } > >@@ -3327,10 +3334,14 @@ BlockDriverState *bdrv_find_backing_imag > curr_bs->backing_file); > > if (!realpath(filename_tmp, backing_file_full)) { >+ printf("3\n"); > continue; > } > >+ printf("backing_file_full: %s, filename_full: %s\n", >+ backing_file_full, filename_full); > if (strcmp(backing_file_full, filename_full) == 0) { >+ printf("4\n"); > retval = curr_bs->backing_hd; > break; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1102881
:
900481
|
900482
|
900483
|
900484
|
900523
| 901471 |
901490
|
922603
|
922604
|
922606
|
922607
|
923330