<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 17/06/10 11:40, Julian Robbins wrote:
<blockquote cite="mid:4C19FBB8.9050703@q-par.com" type="cite">On
15/06/10 17:53, Julian Robbins wrote:
  <br>
  <blockquote type="cite">I'm using vers 1.84 of QEMU/Kvm from dnjl's
PPA for Lucid.
    <br>
  </blockquote>
  <br>
After trying again, I can no longer get snapshots to work whilst vm
guest in running.
  <br>
  <br>
I have disabled apparmor so that it is only in 'complain' mode on the
host, but still get :-
  <br>
  <br>
Error -5 while writing VM
  <br>
  <br>
whilst trying a
  <br>
  <br>
virsh # snapshot-create openerp
  <br>
  <br>
Whether running virsh as normal user or root. I'm also getting
  <br>
  <br>
'libvirtError: Timed out during operation: cannot acquirestate change
lock' errors too, after I've tried to take a snapshot.
  <br>
</blockquote>
<br>
Apologies after replying to my own post. After applying the latest
update of kvm, libvirt etc from Daniel Baumann (dnjl)'s PPA (the one I
had been previously using), I noticed a change was related to giving
more permission to libvirt relating to access to disk storage when
apparmor is running.<big><br>
<br>
</big>With this update 0.8.1-2ubuntu1.1~dnjl1~lucid0, snapshots are
fine again now. I can create/delete whilst guest is running or shutdown
<pre class="moz-signature" cols="72">-- 
Kind regards

Julian</pre>
</body>
</html>