[Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Zhi Yong Wu
HI, On a RHEL5 box, i tried to directly run guest which was issued by libguestfs virt-xxx commands as below. But after some minutes, it exited exceptionally. Does anyone also hit the issue or know the reason? #/usr/bin/qemu-kvm -global virtio-blk-pci.scsi=off -nodefconfig -nodefaults

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Richard W.M. Jones
On Sun, Sep 28, 2014 at 04:30:37PM +0800, Zhi Yong Wu wrote: HI, On a RHEL5 box, i tried to directly run guest which was issued by libguestfs virt-xxx commands as below. But after some minutes, it exited exceptionally. Does anyone also hit the issue or know the reason? As it says in the

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Zhi Yong Wu
On Sun, Sep 28, 2014 at 6:26 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 04:30:37PM +0800, Zhi Yong Wu wrote: HI, On a RHEL5 box, i tried to directly run guest which was issued by libguestfs virt-xxx commands as below. But after some minutes, it exited

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Richard W.M. Jones
On Sun, Sep 28, 2014 at 06:33:53PM +0800, Zhi Yong Wu wrote: On Sun, Sep 28, 2014 at 6:26 PM, Richard W.M. Jones rjo...@redhat.com wrote: Which version of libguestfs is this? I think you'll have no hope of #rpm -qa | grep libguestfs libguestfs-1.20.8-1 libguestfs-tools-c-1.20.8-1 getting

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Zhi Yong Wu
On Sun, Sep 28, 2014 at 6:48 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 06:33:53PM +0800, Zhi Yong Wu wrote: On Sun, Sep 28, 2014 at 6:26 PM, Richard W.M. Jones rjo...@redhat.com wrote: Which version of libguestfs is this? I think you'll have no hope of #rpm

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Richard W.M. Jones
On Sun, Sep 28, 2014 at 11:04:11PM +0800, Zhi Yong Wu wrote: On Sun, Sep 28, 2014 at 6:48 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 06:33:53PM +0800, Zhi Yong Wu wrote: On Sun, Sep 28, 2014 at 6:26 PM, Richard W.M. Jones rjo...@redhat.com wrote: Which

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Zhi Yong Wu
On Sun, Sep 28, 2014 at 11:31 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 11:04:11PM +0800, Zhi Yong Wu wrote: On Sun, Sep 28, 2014 at 6:48 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 06:33:53PM +0800, Zhi Yong Wu wrote: On Sun, Sep

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Richard W.M. Jones
On Sun, Sep 28, 2014 at 11:43:17PM +0800, Zhi Yong Wu wrote: Yeah, but why did it happen when i directly issue guest VM via above command? OK I see. When libguestfs runs qemu-kvm, it sets up a TCP socket first [on RHEL 5 -- it works differently upstream]. Without the socket existing (and

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Zhi Yong Wu
On Mon, Sep 29, 2014 at 12:36 AM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 11:43:17PM +0800, Zhi Yong Wu wrote: Yeah, but why did it happen when i directly issue guest VM via above command? OK I see. When libguestfs runs qemu-kvm, it sets up a TCP socket first [on

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Richard W.M. Jones
On Mon, Sep 29, 2014 at 12:55:04AM +0800, Zhi Yong Wu wrote: On Mon, Sep 29, 2014 at 12:36 AM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 11:43:17PM +0800, Zhi Yong Wu wrote: Yeah, but why did it happen when i directly issue guest VM via above command? OK I

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Zhi Yong Wu
On Mon, Sep 29, 2014 at 1:14 AM, Richard W.M. Jones rjo...@redhat.com wrote: On Mon, Sep 29, 2014 at 12:55:04AM +0800, Zhi Yong Wu wrote: On Mon, Sep 29, 2014 at 12:36 AM, Richard W.M. Jones rjo...@redhat.com wrote: On Sun, Sep 28, 2014 at 11:43:17PM +0800, Zhi Yong Wu wrote: Yeah, but why

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Richard W.M. Jones
On Mon, Sep 29, 2014 at 01:22:19AM +0800, Zhi Yong Wu wrote: Yes, I am trying to run it in Xen Domain0. I thought that we can use Domain0 as a public libguestfs VM, This will avoid starting a new guest for virt-xxx every time, But Domain0 has no corresponding qemu task. So this way isn't

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Zhi Yong Wu
On Mon, Sep 29, 2014 at 1:27 AM, Richard W.M. Jones rjo...@redhat.com wrote: On Mon, Sep 29, 2014 at 01:22:19AM +0800, Zhi Yong Wu wrote: Yes, I am trying to run it in Xen Domain0. I thought that we can use Domain0 as a public libguestfs VM, This will avoid starting a new guest for virt-xxx

Re: [Libguestfs] Why libguestfs guest exist exceptionally?

2014-09-28 Thread Richard W.M. Jones
On Mon, Sep 29, 2014 at 01:35:08AM +0800, Zhi Yong Wu wrote: On Mon, Sep 29, 2014 at 1:27 AM, Richard W.M. Jones rjo...@redhat.com wrote: User-Mode Linux is also a possibility. Slow but consistent Slow is a big concern... There are some measurements here: