mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-06 07:04:45 +09:00
* Support for system ds disks of type BLOCK, required by newer versions of libvirt/qemu * Improved parsing of driver messages * Explicit set of backing file type for newer versions of qemu-img * Conform to new openssl command output * Add lock file for ubuntu2204 ruby gems and new dependencies co-authored-by: Christian González <cgonzalez@opennebula.io>
This commit is contained in:
1 parent
58118973bb
commit
f006341931
8 files changed
+267
-11
No files matched your search
@@ -67,6 +67,7 @@ void ImageManager::_cp(unique_ptr<image_msg_t> msg)
|
||||
|
||||
ostringstream oss;
|
||||
istringstream is(info);
|
||||
is >> skipws;
|
||||
|
||||
auto image = ipool->get(msg->oid());
|
||||
|
||||
@@ -74,7 +75,7 @@ void ImageManager::_cp(unique_ptr<image_msg_t> msg)
|
||||
{
|
||||
if (msg->status() == "SUCCESS")
|
||||
{
|
||||
is >> source >> ws;
|
||||
is >> source;
|
||||
|
||||
if (!source.empty())
|
||||
{
|
||||
@@ -95,14 +96,14 @@ void ImageManager::_cp(unique_ptr<image_msg_t> msg)
|
||||
goto error;
|
||||
}
|
||||
|
||||
is >> source >> ws;
|
||||
is >> source;
|
||||
|
||||
if (is.fail())
|
||||
{
|
||||
goto error;
|
||||
}
|
||||
|
||||
is >> format >> ws;
|
||||
is >> format;
|
||||
|
||||
if (is.fail() || format.empty())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user