Re: domain: how long is new xml in saved file

2020-04-24 Thread Eric Blake
splice in a hole (all later file contents are shifted in offsets); maybe our save code could take advantage of that to repair existing saved images with insufficient header size in a more efficient manner than manually shifting the rest of the file contents ourselves. -- Eric Blake, Principal

Re: Does Libvirt's json parser support single quoted string in qmp json string?

2020-02-03 Thread Eric Blake
[adding Markus] On 2/3/20 4:13 AM, Daniel P. Berrangé wrote: On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote: On 1/31/20 4:38 AM, Peter Luo wrote: error: internal error: cannot parse json {"execute": "block-commit", "arguments": { "device":

Re: Does Libvirt's json parser support single quoted string in qmp json string?

2020-01-31 Thread Eric Blake
"encrypt.key-secret\\\":\\\"vol... or even things like: q='"' qq='\"' "{${q}execute${q}:... ${q}base${q}:${q}json:{${dq}encrypt.key-secret${dq}:${dq}vol... But as mentioned elsewhere in this thread, embedding nested json via qemu-monitor-command is already a sign that you are using unsupported means, and where newer libvirt supports what you want to do natively, you're better off upgrading to that supported method instead of trying to hack around the command line through an unsupported backdoor. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org

Re: [libvirt-users] virsh snapshot-create --print-xml seems to ignore most arguments

2019-11-20 Thread Eric Blake
description of the arguments. Yes, the perl bindings don't have the convenience wrappers like virsh, so you'll need the XML; but the perl bindings DO let you also pass in flags for the case where virsh has bool options for setting a flag. -- Eric Blake, Principal Software Engineer Red Hat, Inc

Re: [libvirt-users] Live Disk Backup with Active Blockcommit

2019-04-25 Thread Eric Blake
ing text: 'mergning contents of > 'overlay1' into base' > (Where 'mergning' is spelled wrong, but that doesn't affect the logic). Also fixed, here preferring overlay1.qcow2 since it is possible to create a chain of more than one overlay. > > > => Do I understand all this correct

Re: [libvirt-users] is it possible to create a snapshot from a guest residing in a plain partition ?

2019-04-04 Thread Eric Blake
b,file=/path/to/file.sn -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users@redh

Re: [libvirt-users] is it possible to create a snapshot from a guest residing in a plain partition ?

2019-04-03 Thread Eric Blake
he base file and get rid of the overlay) -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list

Re: [libvirt-users] virsh snapshot-create-as: change umask on snapshots

2019-03-20 Thread Eric Blake
then tell virsh to --reuse-external (so that libvirt no longer has to try and create the files, and thus doesn't mess with permissions). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libv

Re: [libvirt-users] Development of Libvirt PHP

2019-03-07 Thread Eric Blake
On 3/7/19 4:55 PM, Maximilian Schieder wrote: > Hey, > I want to ask if LibVirt PHP will be develop further or if it is deprecated. It is not deprecated, but it never hurts to have more developers submitting patches. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-9

Re: [libvirt-users] virsh hangs when backup jobs run on the kvm host

2019-03-06 Thread Eric Blake
gt; emulator version 2.7.1(Debian 1:2.7+dfsg-3)'. Hoping for you reply. Thanks! Hmm, my incremental backup API will require qemu 4.0; there have been a number of fixes in the qemu bitmap tracking that have landed since qemu 2.7.1. It could also be that you've hit an actual qemu bug where the QMP m

Re: [libvirt-users] how "safe" is blockcommit ?

2018-09-07 Thread Eric Blake
en remote access such as NBD or ceph). The key is that your overlay is a qcow2 file that is tracking the deltas during the time in which you are capturing your backup of the backing file, and then blockcommit safely writes those deltas back into the backing file prior to no longer needing the ov

Re: [libvirt-users] Snapshot overlay-file deletion

2018-08-31 Thread Eric Blake
ut it is surprisingly complex to come up with semantics for deletion of an external snapshot in a way that doesn't corrupt data, so no one has tackled that code project. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266

Re: [libvirt-users] VM I/O performance drops dramatically during storage migration with drive-mirror

2018-05-29 Thread Eric Blake
arrive on the 'libvirt-users' list archives; but it's not there yet -- https://www.redhat.com/archives/libvirt-users/2018-May/thread.html] Actually, the attachment was probably rejected by list moderation for being oversized. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1

Re: [libvirt-users] virRandomBits - not very random

2018-05-25 Thread Eric Blake
are relying on gnutls to provide it rather than virRandomBits). So at this point, it's just a matter of someone writing the patches. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: [libvirt-users] virRandomBits - not very random

2018-05-25 Thread Eric Blake
to create collisions when their random number sequences sync up. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ libvirt-users mailing list libvirt-users@redhat.com https

Re: [libvirt-users] Create qcow2 v3 volumes via libvirt

2018-05-24 Thread Eric Blake
it unmounted and from a live CD but I'm having a heck of a time getting my live distro to use the virtio disk drivers.  Any advice there? virt-resize from libguestfs-tools is your friend! -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266

Re: [libvirt-users] Create qcow2 v3 volumes via libvirt

2018-05-01 Thread Eric Blake
of snapshots, although we could still improve libvirt to make this feel like more of a first class citizen. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ libvirt-users mailing

Re: [libvirt-users] Create qcow2 v3 volumes via libvirt

2018-05-01 Thread Eric Blake
/msg00865.html -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

Re: [libvirt-users] Drive-backup functions.

2018-05-01 Thread Eric Blake
backup checkpoint, and that's true whether it is qemu writing the backup [push model] or a third party consuming the backup over NBD [pull model]. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
On 04/27/2018 11:15 AM, Eric Blake wrote: > On 04/27/2018 02:20 AM, gaosheng cui wrote: >> Hi,using ignore_value in libvirt source code >> to do function return value processing,but I >> can’t understand about it,can you give me some tips?thanks very much! > >

Re: [libvirt-users] [libvirt] ignore_value

2018-04-27 Thread Eric Blake
re sure that ignoring the value doesn't introduce bugs - so using it also serves as a visual indicator to reviewers that your choice to ignore the return value was intentional and should be checked for accuracy. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtuali

Re: [libvirt-users] kvm-vnc question

2018-04-12 Thread Eric Blake
RL to your upload, so that the list isn't spammed with a huge image attachment. [And speaking as a list moderator, my apologies to other list readers for moderating this one through; often, I'm able to catch large message attachments and reject the posts with suggestions for a smaller message, w

Re: [libvirt-users] qemu-img snapshot on running virtual machine

2018-03-15 Thread Eric Blake
ng virtual machine is through commands issued to the qemu process that is running the machine (that is, via libvirt APIs if libvirt is managing the qemu process). -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | l

Re: [libvirt-users] libvirt on Windows

2018-02-01 Thread Eric Blake
g > libvirt. > The GCC/Clang produced DLLs should be usabled from apps built with other > compilers though. Libvirt is also available on Windows via the Cygwin platform: https://sourceware.org/ml/cygwin-announce/2017-09/msg00017.html -- Eric Blake, Principal Software Engineer Red Hat,

[libvirt-users] error message

2017-05-23 Thread Eric Blake
[moderator note: re-posting to list with screenshot deleted, in order to meet list policy size constraints] hello, i am trying to install libvirt but getting some error . even though i am folowing your instructions and steps please help me out this signature.asc Description: OpenPGP digital

[libvirt-users] Tunnelled migrate Windows7 VMs halted

2017-04-26 Thread Eric Blake
gt;path='/var/lib/nova/instances/53f0710f-b25e-4f47-a7cf-c15a9409fdc3/console.log'/> > > > > > > > > > > path='/var/lib/nova/instances/53f0710f-b25e-4f47-a7cf-c15a9409fdc3/console.log'/> > > >

Re: [libvirt-users] Blockpull behavior when interrupted

2016-07-22 Thread Eric Blake
touch ZFS as long as its current license doesn't play nicely with the Linux kernel) -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users

Re: [libvirt-users] Blockpull behavior when interrupted

2016-07-21 Thread Eric Blake
emporarily) out of sync with reality. For more ideas on how to visualize things, check out my presentation at last year's KVM Forum: http://www.linux-kvm.org/images/5/5f/03x02-Eric_Blake-Backing_Chain_Management_in_QEMU_and_libvirt.pdf -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtu

Re: [libvirt-users] Windows Server 2008 - KVM

2016-05-25 Thread Eric Blake
> [image: Imagem inline 1] Note that this message was nearly rejected in the moderation queue for being oversized. Sending an inline image instead of the text contents of the screenshot is bad enough on bandwidth, but compounding the problem by keeping the image in the reply puts a pretty heavy

Re: [libvirt-users] VM crash and lock manager

2016-03-30 Thread Eric Blake
[moderator note: .pngs were stripped to avoid overwhelming the mail server and list recipients with 1M of data] Forwarded Message Date: Wed, 30 Mar 2016 11:25:09 +0200 Message-ID: <20160330112509.horde.0oad-zfkzdznouxf-vke...@webmailperso.univ-brest.fr> From:

Re: [libvirt-users] virsh and bash_complete

2016-03-23 Thread Eric Blake
t command line to 'virsh complete', and you'd only ever have to write the bash wrapper once, rather than maintaining it through each virsh addition. At one point, a student attempted work on this for Google Summer of Code (I think 2014?), but didn't get anywhere. It is still a GREAT idea, if some

Re: [libvirt-users] Incorrect memory usage returned from virsh

2016-03-18 Thread Eric Blake
and 'virsh dommemstat' ask different questions, and may be able to give you more insight into the guest's current memory usage (but it might also be something you can't learn without guest cooperation). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libv

Re: [libvirt-users] Questions about qcow2 file size management

2015-12-16 Thread Eric Blake
g else I should do? > > Anything I could check? You should really look into using 'virt-resize' and 'virt-sparsify', both part of the libguestfs tools suite, because they make this job a LOT less error-prone and automatable. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt v

Re: [libvirt-users] libvirt domain configuration xml

2015-12-11 Thread Eric Blake
cated under /etc/libvirt for persistence reasons, but modifying those files behind libvirt's back is not a good idea - in fact, those files start with the disclaimer: -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org sign

Re: [libvirt-users] virsh blockcopy without undefine

2015-10-13 Thread Eric Blake
ation efficiently. Requiring the domain to be transient (via the undefine/define wrapper around the blockcopy) was a design decision made when blockcopy was first added to make the caller aware of the limitations, and put the caller in charge of what happens if the domain disappears in the middle of

Re: [libvirt-users] Transient VM Usage

2015-09-11 Thread Eric Blake
it is decided that we want to commit to the disk after all; probably through a block-commit operation. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] Backup a VM (using live external snapshot and blockcommit)

2015-09-11 Thread Eric Blake
erstand libvirt doesn't do it yet. > > Thanks for any hint. I naively thought our use case was pretty usual, > and I must admit I didn't think I'd have to dive into this complexity, > which is why I'm thinking there might be a more "common" way... Nope, right now, there is still s

Re: [libvirt-users] virsh create snapshot not honoring diskspec?

2015-08-13 Thread Eric Blake
disks at once. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com

Re: [libvirt-users] How to run libvirtd as non root user

2015-07-30 Thread Eric Blake
a harder time using networking, but that's what you'd expect. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list

Re: [libvirt-users] Recommended change for the networking page in wiki

2015-06-08 Thread Eric Blake
in multiple places. Although recent work has been made to get libvirt to add an API that queries the guest for its IP address, once the guest is running. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP

Re: [libvirt-users] Missing block-stream command in qemu-kvm

2015-06-03 Thread Eric Blake
SIG build this, but it hasn't happened yet. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users

Re: [libvirt-users] Blockcommit error

2015-05-21 Thread Eric Blake
you do: virsh version --daemon and if the 'Using library:' line is newer than the 'Running against daemon:' line, I'm right. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] Pivot without copy

2015-05-19 Thread Eric Blake
QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.11), Copyright (c) Likewise, qemu needs to be at least 2.2 -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] Pivot without copy

2015-05-19 Thread Eric Blake
going away and then being plugged in, then that is just as effective as anything that snapshots would do at rolling back to a known disk state. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital

Re: [libvirt-users] Pivot without copy

2015-05-19 Thread Eric Blake
while the guest is running (not all hardware handles it gracefully, but there are definitely storage arrays out there that manage just fine). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] Pivot without copy

2015-05-19 Thread Eric Blake
of that to allow blockcopy to work without requiring a transient domain. But in the meantime, you may have to use 'virsh dumpxml $dom $file', 'virsh undefine $dom' prior to the blockcopy, then 'edit $file to updated name', 'virsh define $file' afterwards to restore it to persistent. -- Eric Blake eblake

Re: [libvirt-users] Editing http://libvirt.org/sources/virshcmdref/html-single/#sect-attach-device

2015-05-08 Thread Eric Blake
document is a bit sparse, as the last major contribution was in 2011, and no one has stepped in to keep it up to date. You are welcome to start submitting patches; the repo is: git://libvirt.org/libvirt-virshcmdref -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library

Re: [libvirt-users] Proper way to reference a disk

2015-05-06 Thread Eric Blake
qemu feature of setting a threshold for event triggering, such that you could then request notification that the lvm volume is X% full and give yourself time to enlarge the lvm volume even before you reach the point where the guest would halt because the lvm volume was full. -- Eric Blake eblake

Re: [libvirt-users] Proper way to reference a disk

2015-05-06 Thread Eric Blake
of thumb, if it is a block device, use type='block' (or type='lun' if you need sgio passthrough support) and source dev='...'); otherwise use type='file' and source file='...'. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc

Re: [libvirt-users] unable to edit existing snapshot

2015-04-30 Thread Eric Blake
to reject the redefinition as invalid. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users@redhat.com

Re: [libvirt-users] non failover equivalent to virsh migrate --copy-storage-all

2015-04-29 Thread Eric Blake
fails (look for COLO on the qemu archives). Again, it will need to land in qemu, as well as be wired up in libvirt. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] non failover equivalent to virsh migrate --copy-storage-all

2015-04-29 Thread Eric Blake
On 04/29/2015 10:30 AM, Eric Blake wrote: Is there a way to just copy the data file over to the second server, without moving the VM? I want the equivalent of doing these two migrations is sequence, but without moving the VM. Yes - 'virsh blockcopy' can be used for creating a live copy

Re: [libvirt-users] unable to edit existing snapshot

2015-04-29 Thread Eric Blake
to revert to the snapshot state. Also, is your snapshot internal or external? Depending on how the snapshot was created may affect how to alter the domain to point at the desired disk state. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [libvirt-users] Semantics of virsh migrate --copy-storage-all vs. --copy-storage-inc

2015-04-29 Thread Eric Blake
all require customer visible maintenance downtimes every 12 to 20 month. And these downtimes take a long lead time and are between 01:00 and 05:00. Mit freundlichen Gruessen Andreas Buschmann -- Eric Blake

Re: [libvirt-users] libvirt and guest processes

2015-04-20 Thread Eric Blake
, although it hasn't been reviewed for inclusion yet. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users

Re: [libvirt-users] Question regarding management of VMs using libvirtd.

2015-04-20 Thread Eric Blake
IS designed to be remote controlled, so it is certainly feasible to write higher-layer applications that manage connections to multiple libvirtd and collect results into a single app for use by the end user. In fact, that's what VDSM does. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt

Re: [libvirt-users] qemu:commandline domain XML tag is not working?

2015-04-20 Thread Eric Blake
to be named 'qemu:', but it makes it easier to stick to the naming used by the examples) -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt

Re: [libvirt-users] virsh shutdown domain not fully working on win7 ?

2015-04-17 Thread Eric Blake
? 'virsh shutdown' requires guest cooperation. In particular, if you have not hooked up a guest agent, then all it can do is send an ACPI signal into the guest, but it is up to the guest whether it shuts down on receipt of that signal (and not all guests do). -- Eric Blake eblake redhat com

Re: [libvirt-users] unknown driver format value 'qcow3'

2015-04-15 Thread Eric Blake
that understands the newer format. [For example, basing your distro on RHEL 7, even if you choose to use CentOS instead of RHEL, is a way to get new-enough libvirt] -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [libvirt-users] Update on-disk XML after virsh snapshot-create-as

2015-04-14 Thread Eric Blake
heavyweight when it comes to trying to tweak the domain just to ensure you hit a code path that properly flushes to disk. We've done better at auditing the code base in newer libvirt to ensure that we flush to disk any time we modify the domain. -- Eric Blake eblake redhat com+1-919-301

Re: [libvirt-users] Update on-disk XML after virsh snapshot-create-as

2015-04-14 Thread Eric Blake
are still suffering from a build of libvirt that fails to update the files in /etc when taking a snapshot, do some other action that DOES update /etc (such as changing the domain description), or at a bare minimum use 'virsh define' instead of manually writing into /etc yourself. -- Eric Blake

Re: [libvirt-users] virsh dom state

2015-03-24 Thread Eric Blake
on preserving passwords. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users@redhat.com https

Re: [libvirt-users] C code to generate domain XML

2015-03-19 Thread Eric Blake
/ In particular, the libvirt-gconfig subproject deals with C code (and other language bindings) for more easily generating libvirt XML within the framework of glib's GObject classes. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [libvirt-users] Building libvirt 1.2.13 from source

2015-03-19 Thread Eric Blake
have only your self-built version accessible 2. when self-building, make sure you use the same configure arguments as your distro would do (on Fedora-based distros, you can do this with ./autogen.sh --system, when building from git) -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt

Re: [libvirt-users] Development of application on using the libvirt API(s)

2015-03-19 Thread Eric Blake
'; these APIs properly flag overflow if a value cannot be converted from 64-bit on the host down to the limited 32-bit on the client. But as long as the API doesn't trigger that large of a value, you are fine. And for everything specified as 'int' or 'long long', it all works just fine. -- Eric Blake

Re: [libvirt-users] how to get disk snapshot size

2015-03-16 Thread Eric Blake
such a metric would be a job for the qemu list, and not anything libvirt can do without qemu's help. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] libvirt live migration, qcow2 image, nbd server

2015-02-13 Thread Eric Blake
a nested qcow2 encoding of data. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users@redhat.com https

Re: [libvirt-users] [libvirt] vm live storage migration with snapshots

2015-02-11 Thread Eric Blake
shared storage instead of doing storage migration block-commit shared back into active base - mid - active where the shared storage only needs to hold as much disk state as diverges during the time of the live migration. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization

Re: [libvirt-users] [libvirt] vm live storage migration with snapshots

2015-02-11 Thread Eric Blake
of the migration), then doing the live migration, then tearing down the NBD mirroring link. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt

Re: [libvirt-users] libvirt/virsh change boot order

2015-02-11 Thread Eric Blake
to send mail to public lists from accounts that spam legalese garbage on the end. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt

Re: [libvirt-users] [libvirt] vm live storage migration with snapshots

2015-02-11 Thread Eric Blake
these knowledge with other people. The libvirt-users list archives has a lot of questions and posts from other users on the same topic; it may also help if you peruse the archives. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc

Re: [libvirt-users] Possible to change 'machine type' attribute while vm is running?

2015-02-09 Thread Eric Blake
Debian tool? And from the name, that may indeed be the tool that does what you want? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] QEMU 2.2.0 managedsave: Unknown savevm section type 5

2015-02-05 Thread Eric Blake
-metal machine, then recovering when restoring power for the next boot) [virsh managedsave-remove] -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] Disk space exhaustion

2015-01-30 Thread Eric Blake
clock time elapsed for one operation. Look for the 'error_policy' XML setting under http://libvirt.org/formatdomain.html#elementsDisks -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] redistribute virtual machines from vps hosting to end users

2015-01-28 Thread Eric Blake
it? Look at virt-builder, part of libguestfs: http://libguestfs.org/virt-builder.1.html -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt

Re: [libvirt-users] Discard disk changes on shutdown

2015-01-16 Thread Eric Blake
/show_bug.cgi?id=1057800 -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users@redhat.com https

Re: [libvirt-users] How do you force a VM reboot (when its KPd etc) without interrupting a blockcopy?

2015-01-16 Thread Eric Blake
, a shallow blockcopy is likely to finish faster. Then, once everything is copied to the new location, use active blockcommit to merge the temporary wrapper back into the normal backing file. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [libvirt-users] domain has active block job

2015-01-13 Thread Eric Blake
there still be one block job in background That was against RHEL 7; but I don't know if any Fedora releases suffer from the same issue. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] Using virsh blockcopy -- what's it supposed to accomplish?

2015-01-08 Thread Eric Blake
a blockcopy from a qcow2 source to a raw-image NBD server, this is a case where you need to be explicit about the difference in format. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] trying to get pages output in virsh capabilities

2015-01-07 Thread Eric Blake
version issue, or what? A version issue. The system with the pages entries is running 1.2.9, while the system without them is running 1.2.2. pages was added in v1.2.6 (commit 02129b7). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [libvirt-users] Block Commit: [100 %]error: failed to pivot job for disk vda

2015-01-07 Thread Eric Blake
operation: cannot acquire state change lock This may also be the sign of a libvirt bug in not tracking lock states correctly. I've had other reports of bogus behavior, so I'm trying to take another audit of the code this week to see if I can find a problem in the libvirt code. -- Eric Blake

Re: [libvirt-users] ubuntu virsh snapshot-create-as gives Error -22 while writing VM

2015-01-06 Thread Eric Blake
). As for why qemu is seeing an EINVAL, I have to wonder if it is a case of AppArmor blocking access to a file. But that's weird, as internal snapshots don't normally need to open any additional files. At any rate, it's more likely to be a qemu bug than a libvirt one. -- Eric Blake eblake redhat com

Re: [libvirt-users] Please help me!Thank You!

2015-01-03 Thread Eric Blake
mind opening the image, it is a lot harder to retype the contents of your screenshot than it is to copy and paste your example in order to try and reproduce your issue. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description

Re: [libvirt-users] Using virsh blockcopy -- what's it supposed to accomplish?

2014-12-22 Thread Eric Blake
. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo

Re: [libvirt-users] virsh list shows no vm after downgrade

2014-12-19 Thread Eric Blake
data from old versions), not forward compatibility (old versions might be confused by data added in new versions). Does anyone know how to solve this problem? Upgrade back to libvirt 1.2.2 or newer. The new libvirt will then show your running guests. -- Eric Blake eblake redhat com+1-919

Re: [libvirt-users] LVM storage

2014-12-19 Thread Eric Blake
the difference it makes (fewer layers by using LVMs directly probably makes for more efficiency, but it also means more effort in setting things up compared to just using files in the same host filesystem). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http

Re: [libvirt-users] Freeze Windows Guests For Consistent Storage Snapshots

2014-12-11 Thread Eric Blake
the guest. What steps do i have to follow for windows ? The same steps - qemu-guest-agent is available for both Linux and Windows guests. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] snapshots and qcow2

2014-12-08 Thread Eric Blake
is a LOT easier because you merely delete the files you no longer need, instead of trying to defragment within a file you are still using). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [libvirt-users] Libvirt Live Migration

2014-12-04 Thread Eric Blake
-rhev.repo and install qemu-kvm-rhev with yum. All features will be available. It would be simpler to have a CentOS SIG build this, but it hasn't happened yet. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP

Re: [libvirt-users] Live Disk Snapshot Not Supported

2014-11-25 Thread Eric Blake
. It would be simpler to have a CentOS SIG build this, but it hasn't happened yet. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt

Re: [libvirt-users] Live Disk Snapshot Not Supported

2014-11-24 Thread Eric Blake
CentOS, I'd look into finding the qemu-kvm-rhev package (the default qemu-kvm package is intentionally shipped with fewer supported features, and you have run into one of those features). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

Re: [libvirt-users] Libvirt fullscreen sdl problem

2014-11-21 Thread Eric Blake
in 'virt-viewer --kiosk', which can serve as a starting point for beginning a guest in fullscreen. However, I don't have much experience with sdl graphics to know if that is supported. Why not SPICE graphics? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http

Re: [libvirt-users] Changing 'source file' on running VM.

2014-11-18 Thread Eric Blake
\ --shallow --active --verbose --pivot does what you want; after you have done the active commit, then dumpxml will be automatically updated to point back to the original image, and you can then safely delete the overlay that is no longer in use. -- Eric Blake eblake redhat com+1-919-301-3266

Re: [libvirt-users] Problem with the use of domfsfreeze mountpoint option

2014-11-17 Thread Eric Blake
; while booting a disk that was copied while filesystems were frozen should see a fully consistent file system that is not lacking any pending I/O). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital

Re: [libvirt-users] Problem with the use of domfsfreeze mountpoint option

2014-11-12 Thread Eric Blake
the information to management apps as a libvirt event. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list libvirt

Re: [libvirt-users] backup KVM qcow2 over btrfs or zfs

2014-11-06 Thread Eric Blake
to experience bad performance having qcow2 over btrfs? I was reading something like that but the posts were really backdated... As far as I know, this is still a real problem unless you manually configure btrfs to not do copy-on-write, at least when qcow2 images are involved. -- Eric Blake eblake

Re: [libvirt-users] setvcpus libvirt 1.2.9

2014-11-05 Thread Eric Blake
On 11/05/2014 02:56 PM, Thomas Stein wrote: Am 05.11.14 14:48, schrieb Eric Blake: On 11/05/2014 01:20 PM, Thomas Stein wrote: Am 05.11.14 11:48, schrieb Martin Kletzander: On Wed, Nov 05, 2014 at 11:35:37AM +0100, Thomas Stein wrote: Hello. I'm struggeling a little bit with the setvcpus

Re: [libvirt-users] KVM incremental backup using CBT

2014-11-03 Thread Eric Blake
-flush.sh.sample I had to adjust this script a little for mariadb 10.0.14. But after that everything works as expected. Do you want to post your version of the script for others to learn from? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http

Re: [libvirt-users] libvirt with VirtualBox - possible to specify path to snapshot folder in domain.xml?

2014-10-30 Thread Eric Blake
for storing those files. Would you like to contribute a patch? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list

Re: [libvirt-users] Can't specify filename.xml when using virsh dumpxml

2014-10-29 Thread Eric Blake
to output xml to a file. Would you like to try your hand at the patch? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature ___ libvirt-users mailing list

  1   2   3   4   5   6   >