search for: baochuan

Displaying 14 results from an estimated 14 matches for "baochuan".

2016 Jul 12
4
Re: Help: Can I access network inside libguestfs?
...e libguestfs APIs in C++ program. Following your idea, I think I should try guestfs_set_network for this. Please correct me if I have any misunderstanding. Thanks, Allen 2016-07-12 16:38 GMT+08:00 Pino Toscano <ptoscano@redhat.com>: > Hi, > > On Tuesday, 12 July 2016 16:30:17 CEST Baochuan Wu wrote: > > I mounted virtual disks of CentOS 6.4 using libguestfs. After mounting, I > > tried to install some software using yum command. The yum command failed > > because of DNS failure, I think I correctly configured > DNS(/etc/resolv.conf > > in the CentOS virtual...
2016 Aug 29
2
Re: guestfs_launch gets stuck
...s Rich. I have used libguestfs for several month. It worked perfectly before, the issue appears recently. I am trying guestfs_set_backend (g, "direct"). Thanks, Allen 2016-08-29 23:31 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > On Mon, Aug 29, 2016 at 11:19:04PM +0800, Baochuan Wu wrote: > > Thanks Rich for you quick reply. I enabled logs and the program stuck > > again, here is the call stack and log: > > Thread 1 (Thread 0x7fac58edc8c0 (LWP 1271)): > > #0 0x00007fac578fac20 in __poll_nocancel () from /lib64/libc.so.6 > > #1 0x00007fac56df...
2016 Jul 12
2
Help: Can I access network inside libguestfs?
Hi All, I mounted virtual disks of CentOS 6.4 using libguestfs. After mounting, I tried to install some software using yum command. The yum command failed because of DNS failure, I think I correctly configured DNS(/etc/resolv.conf in the CentOS virtual disk). I wonder is it possible to access network inside libguestfs? Thanks, Allen
2016 Jul 14
1
Re: Help: Can I access network inside libguestfs?
Thanks Richard. I followed your guide and it works for me. Thanks, Allen 2016-07-13 17:04 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > [Let's keep the replies on the mailing list please] > > On Wed, Jul 13, 2016 at 11:04:13AM +0800, Baochuan Wu wrote: > > Thanks Richard. > > I tried guestfs_set_network, and I think I can successfully use yum -y to > > install software. It is a little slow. > > Most of the time is taken running yum and downloading packages ... > > > My program operates CentOS 6.4 VM virt...
2016 Sep 05
0
Re: guestfs_launch gets stuck
...t_on_error_flag=<optimized out>) at fish.c:1181 #7 0x00007f2ddb69e34e in script (prompt=prompt@entry=1) at fish.c:733 #8 0x00007f2ddb662262 in interactive () at fish.c:630 #9 main (argc=1, argv=0x7ffd9f6a0288) at fish.c:577 Has anyone seen this? Thanks. Allen 2016-08-30 7:11 GMT+08:00 Baochuan Wu <wildpointercs@gmail.com>: > Thanks Rich. > I have used libguestfs for several month. It worked perfectly before, the > issue appears recently. I am trying guestfs_set_backend (g, "direct"). > > Thanks, > Allen > > 2016-08-29 23:31 GMT+08:00 Richard W.M....
2016 Aug 29
2
Re: guestfs_launch gets stuck
...estfsd.sock libguestfs: -rw-r--r-- root root ? overlay1 libguestfs: -rwxr-xr-x root root ? umask-check libguestfs: [62900ms] launch libvirt guest 2016-08-29 21:42 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>: > On Mon, Aug 29, 2016 at 08:24:43PM +0800, Baochuan Wu wrote: > > Hello everyone, > > > > I am using libguestfs on CentOS 7.2. I am trying to modify Red Hat 5.4 > > disks. I am using C/C++. I found the process gets stuck > > inside guestfs_launch: > > > > Thread 1 (Thread 0x7fe3aa6148c0 (LWP 1265)): > &gt...
2016 Apr 07
0
Re: Help: Is it possible to use libguestfs in Xen guest OS
On Thu, Apr 07, 2016 at 10:12:07PM +0800, Baochuan Wu wrote: > Hi All, > > I installed CentOS 7 as Xen Guest OS(DomU OS), I wonder if it is possible > to use libguestfs in this CentOS 7 VM? libguestfs-test-tools reports error: [...] > Original error from libvirt: internal error: process exited while > connecting to monitor: Canno...
2016 Jul 12
0
Re: Help: Can I access network inside libguestfs?
Hi, On Tuesday, 12 July 2016 16:30:17 CEST Baochuan Wu wrote: > I mounted virtual disks of CentOS 6.4 using libguestfs. After mounting, I > tried to install some software using yum command. The yum command failed > because of DNS failure, I think I correctly configured DNS(/etc/resolv.conf > in the CentOS virtual disk). > > I wond...
2016 Jul 12
0
Re: Help: Can I access network inside libguestfs?
On Tue, Jul 12, 2016 at 04:48:06PM +0800, Baochuan Wu wrote: > Thanks Pino for quick response. > Actually I use the libguestfs APIs in C++ program. Following your idea, I > think I should try guestfs_set_network for this. Yes this is correct. Calling: guestfs_set_network (g, 1); should enable the network inside the appliance. For fu...
2016 Jul 13
0
Re: Help: Can I access network inside libguestfs?
[Let's keep the replies on the mailing list please] On Wed, Jul 13, 2016 at 11:04:13AM +0800, Baochuan Wu wrote: > Thanks Richard. > I tried guestfs_set_network, and I think I can successfully use yum -y to > install software. It is a little slow. Most of the time is taken running yum and downloading packages ... > My program operates CentOS 6.4 VM virtual disks on CentOS 7, I installe...
2016 Aug 29
0
Re: guestfs_launch gets stuck
On Mon, Aug 29, 2016 at 08:24:43PM +0800, Baochuan Wu wrote: > Hello everyone, > > I am using libguestfs on CentOS 7.2. I am trying to modify Red Hat 5.4 > disks. I am using C/C++. I found the process gets stuck > inside guestfs_launch: > > Thread 1 (Thread 0x7fe3aa6148c0 (LWP 1265)): > #0 0x00007fe3a9032c20 in __poll_noc...
2016 Aug 29
0
Re: guestfs_launch gets stuck
On Mon, Aug 29, 2016 at 11:19:04PM +0800, Baochuan Wu wrote: > Thanks Rich for you quick reply. I enabled logs and the program stuck > again, here is the call stack and log: > Thread 1 (Thread 0x7fac58edc8c0 (LWP 1271)): > #0 0x00007fac578fac20 in __poll_nocancel () from /lib64/libc.so.6 > #1 0x00007fac56df3c5a in virNetClientIOEve...
2016 Apr 07
2
Help: Is it possible to use libguestfs in Xen guest OS
Hi All, I installed CentOS 7 as Xen Guest OS(DomU OS), I wonder if it is possible to use libguestfs in this CentOS 7 VM? libguestfs-test-tools reports error: *-bash-4.2# libguestfs-test-tool * ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your
2016 Aug 29
2
guestfs_launch gets stuck
Hello everyone, I am using libguestfs on CentOS 7.2. I am trying to modify Red Hat 5.4 disks. I am using C/C++. I found the process gets stuck inside guestfs_launch: Thread 1 (Thread 0x7fe3aa6148c0 (LWP 1265)): #0 0x00007fe3a9032c20 in __poll_nocancel () from /lib64/libc.so.6 #1 0x00007fe3aa1e5ea4 in read_data () from /lib64/libguestfs.so.0 #2 0x00007fe3aa20af0c in