search for: danger_buf

Displaying 1 result from an estimated 1 matches for "danger_buf".

2012 Nov 13
4
[PATCH] qemu-stubdom: prevent useless medium change
...the same level. --- xenstore.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/xenstore.c b/xenstore.c index 1857160..d3a4588 100644 --- a/xenstore.c +++ b/xenstore.c @@ -614,6 +614,12 @@ void xenstore_parse_domain_config(int hvm_domid) if (pasprintf(&danger_buf, "%s/device/vbd/%s", danger_path, e_danger[i]) == -1) continue; if (bdrv_open2(bs, danger_buf, BDRV_O_CACHE_WB /* snapshot and write-back */, &bdrv_raw) == 0) { + if (pasprintf(&buf, "%s/params", bpath) == -1) + continue; + fre...