Re: [libvirt] Release of libvirt-0.9.10

2012-02-14 Thread Jun Koi
On Tue, Feb 14, 2012 at 4:01 PM, Jiri Denemark jdene...@redhat.com wrote: On Tue, Feb 14, 2012 at 14:17:18 +0800, Jun Koi wrote: On Tue, Feb 14, 2012 at 1:15 PM, Daniel Veillard veill...@redhat.com wrote:  As planned I made the release yesterday, it is tagged in git and available at:   ftp

[libvirt] Fail to import available VM image

2012-02-14 Thread Jun Koi
hi, i am trying to import an available KVM image to use with libvirt. i am not sure if this is the problem of libvirt or not, so bear in me if that is not the case. i run the following command, and got error: # virt-install -n winxp -r 800 -f img.winxp --accelerate --vnc --noautoconsole -v

Re: [libvirt] Fail to import available VM image

2012-02-14 Thread Jun Koi
On Tue, Feb 14, 2012 at 6:57 PM, Alex Jia a...@redhat.com wrote: On 02/14/2012 06:17 PM, Jun Koi wrote: hi, i am trying to import an available KVM image to use with libvirt. i am not sure if this is the problem of libvirt or not, so bear in me if that is not the case. i run the following

Re: [libvirt] Fail to import available VM image

2012-02-14 Thread Jun Koi
On Tue, Feb 14, 2012 at 11:47 PM, Alex Jia a...@redhat.com wrote: Hi Jun, I assume you haven't changed libvirt default URI, it may be a issue, I want to know whether it works for you if you explicitly specify --connect qemu:///system with virt-install? I think a root reason probably is your

Re: [libvirt] Fail to import available VM image

2012-02-14 Thread Jun Koi
On Wed, Feb 15, 2012 at 1:01 AM, Laine Stump la...@laine.org wrote: On 02/14/2012 11:01 AM, Jun Koi wrote: On Tue, Feb 14, 2012 at 11:47 PM, Alex Jia a...@redhat.com wrote: Hi Jun, I assume you haven't changed libvirt default URI, it may be a issue, I want to know whether it works for you

Re: [libvirt] Release of libvirt-0.9.10

2012-02-13 Thread Jun Koi
On Tue, Feb 14, 2012 at 1:15 PM, Daniel Veillard veill...@redhat.com wrote:  As planned I made the release yesterday, it is tagged in git and available at:   ftp://libvirt.org/libvirt/ both as tarball and signed rpms for Fedora 16. i compiled this version on Ubuntu 10.4 (64bit), and got

Re: [libvirt] Unable to create cgroup for driver

2009-08-11 Thread Jun Koi
On Tue, Aug 11, 2009 at 6:00 PM, Daniel P. Berrangeberra...@redhat.com wrote: On Tue, Aug 11, 2009 at 10:03:32AM +0900, Jun Koi wrote: Hi, The libvirt 0.7 has a following error when i start libvirtd: warning : qemudStartup:521 : Unable to create cgroup for driver: No such device or address

Re: [libvirt] Unable to create cgroup for driver

2009-08-11 Thread Jun Koi
On Tue, Aug 11, 2009 at 7:00 PM, Shahar Kleinshaharkl...@yahoo.com wrote: Jun To avoid just configure --without-lxc i can confirm that --without-lxc solved the problem: libvirtd doesnt crash anymore. thanks, J -- Libvir-list mailing list Libvir-list@redhat.com

[libvirt] Unable to create cgroup for driver

2009-08-10 Thread Jun Koi
Hi, The libvirt 0.7 has a following error when i start libvirtd: warning : qemudStartup:521 : Unable to create cgroup for driver: No such device or address Then it fails to start. How can I fix this? Thanks, J -- Libvir-list mailing list Libvir-list@redhat.com

[libvirt] How to call QEMU with -snapshot ?

2009-07-23 Thread Jun Koi
Hi, I want to execute qemu (actually is KVM, qemu-system_x86-64) with -snapshot. Is there any way to do that? I tried following ways, and none works: - Put -snapshot in emulator in configuration file. - Create a script calling qemu -snapshot, and rename it to qemu-system_x86-64 (and of course i

Re: [libvirt] MemoryPeek() is slow

2009-07-22 Thread Jun Koi
On Thu, Jul 23, 2009 at 1:36 PM, Jun Koijunkoi2...@gmail.com wrote: On Wed, Jul 22, 2009 at 7:02 PM, Richard W.M. Jonesrjo...@redhat.com wrote: On Tue, Jul 21, 2009 at 07:39:07PM +0900, Jun Koi wrote: Hi, I play around with MemoryPeek() API on QEMU. While it works well, I found

[libvirt] [patch] initialize a local variable in qemudOpenMonitorUnix()

2009-07-21 Thread Jun Koi
This patch initializes a local variable in qemudOpenMonitorUnix(), thus also eliminates a compilation warning. diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 00dc6e5..d2db1a2 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -874,7 +874,7 @@

[libvirt] How to config my VM to use KVM with libvirt?

2009-07-21 Thread Jun Koi
Hi, I have a VM running under libvirt, and it is currently run with -no-kvm option (I saw that in ps output). Now I want to run this VM with KVM. How can I reconfigure it for that? I looked into its configuration file under /etc/libvirt/qemu, but didnt see any option to turn KVM on. Thanks, J

Re: [libvirt] How to config my VM to use KVM with libvirt?

2009-07-21 Thread Jun Koi
On Tue, Jul 21, 2009 at 7:14 PM, Daniel P. Berrangeberra...@redhat.com wrote: On Tue, Jul 21, 2009 at 05:47:15PM +0900, Jun Koi wrote: Hi, I have a VM running under libvirt, and it is currently run with -no-kvm option (I saw that in ps output). Now I want to run this VM with KVM. How can I

[libvirt] MemoryPeek() is slow

2009-07-21 Thread Jun Koi
Hi, I play around with MemoryPeek() API on QEMU. While it works well, I found that it is too slow. That is expected because of the way it works: we always need to save memory to a file, and read it in again, and that is too inefficient. I am trying to figure out a better way to do this. To do

Re: [libvirt] MemoryPeek() is slow

2009-07-21 Thread Jun Koi
On Tue, Jul 21, 2009 at 7:50 PM, Daniel P. Berrangeberra...@redhat.com wrote: On Tue, Jul 21, 2009 at 07:39:07PM +0900, Jun Koi wrote: Hi, I play around with MemoryPeek() API on QEMU. While it works well, I found that it is too slow. Slow in what context ?  Are you trying to read large

Re: [libvirt] Create a new VM from an existent image?

2009-07-18 Thread Jun Koi
On Sun, Jul 19, 2009 at 1:59 AM, Cole Robinsoncrobi...@redhat.com wrote: Jun Koi wrote: On Fri, Jul 17, 2009 at 10:42 PM, Cole Robinsoncrobi...@redhat.com wrote: Jun Koi wrote: Hi, To use libvirt, I am strying to use virt-install to create a new VM from an existent (KVM) VM image. I did

[libvirt] virt-viewer with fullscreen?

2008-10-30 Thread Jun Koi
Hi, I am using virt-viewer to view an Windows VM. However, I cannot get fullscreen with virt-viewer when using menu View - Fullscreen. When I did that, nothing happenes. Is that a bug? The version of virt-viewer is 0.0.3 Thanks, J -- Libvir-list mailing list Libvir-list@redhat.com

[libvirt] qemu or kvm?

2008-09-12 Thread Jun Koi
Hi, Given a virDomainPtr variable, how can we know that it is a QEMU or KVM machine? Is there any API for that? Many thanks, Jun -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] remote_protocol.{c,h} ?

2008-09-04 Thread Jun Koi
On Wed, Sep 3, 2008 at 8:41 PM, Richard W.M. Jones [EMAIL PROTECTED] wrote: On Wed, Sep 03, 2008 at 01:00:52PM +0900, Jun Koi wrote: Is it really true that qemud/remote_protocol.{c,h} are created by rpcgen? If so, why dont we have them created at compile time? I still see them in the source

[libvirt] remote_protocol.{c,h} ?

2008-09-02 Thread Jun Koi
Hi, Is it really true that qemud/remote_protocol.{c,h} are created by rpcgen? If so, why dont we have them created at compile time? I still see them in the source code. I modified remote_protocol.x a bit, and when recompiling, remote_protocol.{c,h} are not reflected at all. So it is expected

[libvirt] Re: remote_protocol.{c,h} ?

2008-09-02 Thread Jun Koi
On Wed, Sep 3, 2008 at 1:00 PM, Jun Koi [EMAIL PROTECTED] wrote: Hi, Is it really true that qemud/remote_protocol.{c,h} are created by rpcgen? If so, why dont we have them created at compile time? I still see them in the source code. I modified remote_protocol.x a bit, and when recompiling

[libvirt] remote driver?

2008-08-31 Thread Jun Koi
Hi, I am connecting to libvirtd with virsh using qemu:///system connection type. However, it seems virsh uses remote driver for all the action on the VM. So this means qemu:///system considers all the action is done remotely even if it is on the same physical machine? I really expected that it

[libvirt] LIBVIR_VERSION_NUMBER ?

2008-08-27 Thread Jun Koi
Hi, According to libvirt.h: /** * LIBVIR_VERSION_NUMBER: * * Macro providing the version of the library as * version * 1,000,000 + minor * 1000 + micro */ #define LIBVIR_VERSION_NUMBER 4004 The comment is incorrect, as 4004 is not how it is supposed to be. So we should fix either the

Re: [libvirt] pthread_sigmask undefined reference error

2008-08-21 Thread Jun Koi
On Thu, Aug 21, 2008 at 5:34 PM, Daniel P. Berrange [EMAIL PROTECTED] wrote: On Thu, Aug 21, 2008 at 02:36:33PM +0900, Jun Koi wrote: Hi, The latest cvs version has an error when compiling: -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow

[libvirt] qemud/.libs/libvirtd?

2008-08-20 Thread Jun Koi
Hi, I added some new code to libvirt.c, and recompile. However, when make install. qemud/.libs/libvirtd is installed but not qemud/libvirtd. Why? Looks like a bug? The problem is that qemud/libvirtd has my new code, but not qemud/.libs/libvirtd! So make install installs the old binary, which I

Re: [libvirt] Re: qemud/.libs/libvirtd?

2008-08-20 Thread Jun Koi
On Wed, Aug 20, 2008 at 8:05 PM, Daniel P. Berrange [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 08:01:42PM +0900, Jun Koi wrote: On Wed, Aug 20, 2008 at 4:30 PM, Jun Koi [EMAIL PROTECTED] wrote: Hi, I added some new code to libvirt.c, and recompile. However, when make install. qemud

Re: [libvirt] Re: virsh/virt-install for dummies

2008-08-20 Thread Jun Koi
On Thu, Aug 21, 2008 at 1:57 AM, Cole Robinson [EMAIL PROTECTED] wrote: Jun Koi wrote: On Wed, Aug 20, 2008 at 1:23 AM, Cole Robinson [EMAIL PROTECTED] wrote: Jun Koi wrote: Hmm, yeah we should check that and throw a more clear error message. However, the root cause is that your capabilities

Re: [libvirt] Re: qemud/.libs/libvirtd?

2008-08-20 Thread Jun Koi
On Wed, Aug 20, 2008 at 10:39 PM, Richard W.M. Jones [EMAIL PROTECTED] wrote: On Wed, Aug 20, 2008 at 08:22:00PM +0900, Jun Koi wrote: Ah, that is so confused, the way to name files here. So if qemu/.libs/libvirtd is installed into /usr/sbin/libvirtd, where qemud/libvirtd is installed

[libvirt] pthread_sigmask undefined reference error

2008-08-20 Thread Jun Koi
Hi, The latest cvs version has an error when compiling: make[3]: Entering directory `/home/jun/projects/libvirt-0821/src' /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align

Re: [libvirt] Re: virsh/virt-install for dummies

2008-08-18 Thread Jun Koi
On Fri, Aug 15, 2008 at 8:02 PM, Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Aug 15, 2008 at 07:47:32PM +0900, Jun Koi wrote: On Fri, Aug 15, 2008 at 7:36 PM, Daniel P. Berrange [EMAIL PROTECTED] wrote: On Fri, Aug 15, 2008 at 07:32:48PM +0900, Jun Koi wrote: On Fri, Aug 15, 2008

Re: [libvirt] fail to run virsh

2008-08-15 Thread Jun Koi
On Fri, Aug 15, 2008 at 4:21 PM, Daniel P. Berrange [EMAIL PROTECTED] wrote: On Thu, Aug 14, 2008 at 05:27:14PM +0900, Jun Koi wrote: Hi, I installed libvirt (cvs version), and can confirm that libvirtd is running. However, virsh failed to work. I got the below message when running virsh

[libvirt] virsh/virt-install for dummies

2008-08-15 Thread Jun Koi
Hi, I am frustrated searching for a quick-start documentation for virsh, just to no avail. Any help is greatly appreciated! Here is what I did: - Compile and install libvirt, virt-manager, virt-install and virt-viewer from source code. This is done (on Ubuntu 8.04). - Now I want to do install a

[libvirt] Re: virsh/virt-install for dummies

2008-08-15 Thread Jun Koi
On Fri, Aug 15, 2008 at 7:30 PM, Jun Koi [EMAIL PROTECTED] wrote: Hi, I am frustrated searching for a quick-start documentation for virsh, just to no avail. Any help is greatly appreciated! Here is what I did: - Compile and install libvirt, virt-manager, virt-install and virt-viewer from

[libvirt] fail to run virsh

2008-08-14 Thread Jun Koi
Hi, I installed libvirt (cvs version), and can confirm that libvirtd is running. However, virsh failed to work. I got the below message when running virsh with debugging information. How to fix this problem? Many thanks, Jun # LIBVIRT_DEBUG=1 virsh DEBUG: libvirt.c: virInitialize (register

[libvirt] Re: fail to run virsh

2008-08-14 Thread Jun Koi
Please can somebody help? I am kind of stucked here. Thanks, Jun On Thu, Aug 14, 2008 at 5:27 PM, Jun Koi [EMAIL PROTECTED] wrote: Hi, I installed libvirt (cvs version), and can confirm that libvirtd is running. However, virsh failed to work. I got the below message when running virsh

[libvirt] virt-install?

2008-08-13 Thread Jun Koi
Hi, I got the libvirt source code (cvs), and compiled. However, I cannot find the virt-install anywhere. Is it included inside libvirt? Thank you, Jun -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] virt-install?

2008-08-13 Thread Jun Koi
On Wed, Aug 13, 2008 at 4:43 PM, Daniel Veillard [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 04:35:00PM +0900, Jun Koi wrote: Hi, I got the libvirt source code (cvs), and compiled. However, I cannot find the virt-install anywhere. Is it included inside libvirt? No, a companion of virt

Re: [libvirt] virt-install?

2008-08-13 Thread Jun Koi
On Wed, Aug 13, 2008 at 5:43 PM, Daniel P. Berrange [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 04:59:35PM +0900, Jun Koi wrote: On Wed, Aug 13, 2008 at 4:43 PM, Daniel Veillard [EMAIL PROTECTED] wrote: On Wed, Aug 13, 2008 at 04:35:00PM +0900, Jun Koi wrote: Hi, I got the libvirt

Re: [libvirt] RE: [Qemu-devel] [ANNOUNCE] virt-mem tools version 0.2.8 released

2008-08-07 Thread Jun Koi
On Thu, Aug 7, 2008 at 7:20 PM, Alexey Eremenko [EMAIL PROTECTED] wrote: This seems to be great ! I think it is similar to OpenVZ concept of controlling VMs from Host, right ? How it works, if it is not installed in guest ? Basically he does that by inspecting the VM's memory. Something

[Libvir] How libvirt handles QEMU?

2007-05-12 Thread Jun Koi
Hello, I am new to libvirt, so have a question. My concern is: libvirt can manage QEMU VMs. The point is thatI QEMU doesnt not export monitor interface to outside (at least that is what I know about older version of QEMU, not sure if anything changed recently). So how can libvirt does something