qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: 18781374080 <18781374080@163.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Could not transaction encrypted image
Date: Fri, 6 Sep 2019 11:47:00 +0800 (GMT+08:00)	[thread overview]
Message-ID: <7a3a247c.c681.16d04aeb0fe.Coremail.18781374080@163.com> (raw)



hi ,everyone!
I am a newcomer to QEMU, and I don't know if it's a native question
I create snapshots of virtual machines that use encrypted disk, The console gave me the following error:
2019-09-06 10:13:41,902+0800 ERROR (jsonrpc/0) [virt.vm] (vmId='ebdb8b82-b8c0-46b1-bb2a-678873d46d2f') Unable to take snapshot (vm:4616)


Traceback(most recent call last):
    File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py",line 4613, in snapshot
          self._dom,snapshotCreateXML(snapxml, snapFlags)
    File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", in line 98, in f 
           ret = attr(*args, **kwargs)
    File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 130, in wrapper
    ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in wrapper
    return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2620, in snapshotCreateXML
    if ret is None:raise libvirtError('virDomainSnapshotCreateXML() failed', dom=self)
 libvirtError: internal error: unable to execute QEMU command 'transaction': Parameter 'encrypt.key-secret' is required for cipher





I know I need to add encrypt in 'transacton' command. The key - secret information, through the search after I found the QEMU command is through QMP, but I don't know how to compile and add the required information。

Any help or reminder is appreciated! thank you!

| |
18781374080
|
|
18781374080@163.com
|
签名由网易邮箱大师定制

             reply	other threads:[~2019-09-06  3:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06  3:47 18781374080 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-06  2:28 [Qemu-devel] Could not transaction encrypted image 18781374080

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a3a247c.c681.16d04aeb0fe.Coremail.18781374080@163.com \
    --to=18781374080@163.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).