[libvirt] what is the net model syntax

2008-06-05 Thread Farkas Levente
hi, how can i define the emulated network card model in libvirt's xml config files? i can't find it in the docs. thanks. -- Levente Si vis pacem para bellum! -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] Re: [Libvir] Reopening the old discussion about virDomainBlockPeek

2008-06-05 Thread Daniel Veillard
On Wed, Jun 04, 2008 at 04:10:32PM +0100, Richard W.M. Jones wrote: Attached is an updated patch. The changes are: - updated to latest CVS - run make check / syntax-check - remove virsh subcommand (as per Dan's suggestion - see below) - some more things that Dan pointed out - see below

Re: [libvirt] Re: [Libvir] Reopening the old discussion about virDomainBlockPeek

2008-06-05 Thread Richard W.M. Jones
On Thu, Jun 05, 2008 at 08:38:15AM -0400, Daniel Veillard wrote: hum, we should add a flags extra data. And based on some IRC discussion you already have an use for this. Thanks - I really need this so I'll commit it, with an extra (unused) flags parameter. Once you have commited the

[libvirt] [PATCH] Fix UUIDString for python bindings

2008-06-05 Thread Cole Robinson
The attached patch fixes a few issues in the python bindings. First, UUIDString has, to my understanding, never worked. It expected to be passed a buffer to fill with the uuid, which through my tests isn't realistically doable from python. I added custom bindings to fix this, and it now works as

[libvirt] [PATCH] QEMU remote support for virDomainBlockPeek

2008-06-05 Thread Richard W.M. Jones
This patch adds support for virDomainBlockPeek over remote. Also adds a QEMU driver implementation. Also there is a minor fix in the Xen driver impl. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program

Re: [libvirt] [PATCH] Fix UUIDString for python bindings

2008-06-05 Thread Richard W.M. Jones
On Thu, Jun 05, 2008 at 02:08:41PM -0400, Cole Robinson wrote: The attached patch fixes a few issues in the python bindings. +1, looks good to me. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk usage of guests without needing to install

Re: [libvirt] [PATCH] QEMU remote support for virDomainBlockPeek

2008-06-05 Thread Richard W.M. Jones
On Thu, Jun 05, 2008 at 07:42:10PM +0100, Richard W.M. Jones wrote: This patch adds support for virDomainBlockPeek over remote. Also adds a QEMU driver implementation. Also there is a minor fix in the Xen driver impl. The latest virt-df has been updated to use this call, with the remote QEMU

Re: [libvirt] [PATCH] QEMU remote support for virDomainBlockPeek

2008-06-05 Thread Richard W.M. Jones
On Thu, Jun 05, 2008 at 04:32:41PM -0400, Daniel Veillard wrote: On Thu, Jun 05, 2008 at 08:45:40PM +0100, Richard W.M. Jones wrote: On Thu, Jun 05, 2008 at 07:42:10PM +0100, Richard W.M. Jones wrote: This patch adds support for virDomainBlockPeek over remote. Also adds a QEMU driver

[libvirt] [PATCH] virDomainMemoryPeek - peek into guest memory

2008-06-05 Thread Richard W.M. Jones
This patch implements virDomainMemoryPeek, which allows callers to peek into guest (virtual) memory. Currently the patch contains a QEMU driver and remote support. There's also a big comment in the source describing how to do Xen. Obviously the use case for this is virt-mem:

[libvirt] qemudDomainSetMemory() / qemudDomainSetVcpus() error codes

2008-06-05 Thread Kaitlin Rupert
Hello, I noticed qemudDomainSetMemory() / qemudDomainSetVcpus() use the VIR_ERR_INTERNAL_ERROR error code when the caller attempts to set the mem/vcpus of an active domain. In this case, returning something like VIR_ERR_NO_SUPPORT would indicate that this is an invalid call - which would

** PLEASE REVIEW THIS PATCH INSTEAD ** (was: Re: [libvirt] [PATCH] virDomainMemoryPeek - peek into guest memory)

2008-06-05 Thread Richard W.M. Jones
This patch removes a file descriptor leak. I've now tested this patch with virt-mem and it appears to work. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network

Re: [libvirt] qemudDomainSetMemory() / qemudDomainSetVcpus() error codes

2008-06-05 Thread Atsushi SAKAI
Hi, Kaitlin I agree your point. and It should use such an error code. I am looking around the discussion but it is not discussed your point. https://www.redhat.com/archives/libvir-list/2008-March/msg00160.html If any policy exists, I also want to know the reason. Thanks Atsushi SAKAI