Displaying 20 results from an estimated 300 matches similar to: "Golang libvirt bindings problem"
2014 Jul 11
2
Re: golang binding help
2014-07-12 0:33 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>:
> On Fri, Jul 11, 2014 at 06:18:12PM +0400, Vasiliy Tolstov wrote:
>> Hello. I'm very happy with libguestfs, but now i'm try to write packer
>> plugin to strip images:
>
> Packer is: http://www.packer.io/intro ?
Yes, i'm try to build cloud images using it. Does it possible to add
ability to
2014 Jul 11
2
golang binding help
Hello. I'm very happy with libguestfs, but now i'm try to write packer
plugin to strip images:
1) resize filesystem to minimum
2) resize partitions to minimum
3) create/resize file with needed size
But golang binding have not docs. Is that possible to generate
something suitable to godoc.org to determine api methods and
input,output variables for functions?
--
Vasiliy Tolstov,
e-mail:
2017 Nov 15
2
virtlock - a VM goes read-only
Dear colleagues,
I am facing a problem that has been troubling me for last week and a half.
Please if you are able to help or offer some guidance.
I have a non-prod POC environment with 2 CentOS7 fully updated hypervisors
and an NFS filer that serves as a VM image storage. The overall environment
works exceptionally well. However, starting a few weeks ago I have been
trying to implement virtlock
2014 Jul 13
2
Re: golang binding help
2014-07-12 14:00 GMT+04:00 Richard W.M. Jones <rjones@redhat.com>:
> It depends entirely on what the Linux kernel and tools can do. If
> there are properly maintained Linux tools for resizing BSD slices,
> then it should be no problem to add this.
>
> Compare with 'ntfsresize', where ntfs-3g exists and is well-maintained
> and available in the majority of Linux
2004 Sep 12
3
calculating error
Could anybody explain this results?
>sin(2*pi)
-2.449213e-16 #should be zero
>(10^16)*sin(log2(4)*pi)
-2.449213 #should be zero too
and explain what to do to correct this events?
Thanks!!!
Branimir K. Hackenberger
2017 May 17
2
Re: Callback re-registration after libvirtd restart
Hi Daniel,
I tried that but it doesn't work:
func libvirt_close_callback(conn *libvirt.Connect, reason
libvirt.ConnectCloseReason){
log.Printf("close callback: %+v", reason)
}
func event_listen() {
log.Printf("event_listen %s", conf.Libvirt.LocalUrl)
hv, err := libvirt.NewConnect(conf.Libvirt.LocalUrl)
err =
2019 Feb 15
2
HELP!
I'm getting this error (below)
[root@localhost test]# ./test
virError(Code=6, Domain=20, Message='invalid connection pointer in
virConnectListAllDomains')
0 running domains:
when running this program :- (below)
package main
import (
"fmt"
libvirt "github.com/libvirt/libvirt-go"
)
type DomService struct {
Conn *libvirt.Connect
}
func (d
2003 May 22
1
(no subject)
Dear R-helpers!
What it's means "Rank failure in Choleski decomposition" by using of
function surf.gls {spatial}?
Sincerely Yours
Branimir K. Hackenberger
2017 May 17
2
Re: Callback re-registration after libvirtd restart
No, I'm not, I'm calling it sooner:
func libvirt_start() {
libvirt.EventRegisterDefaultImpl()
event_listen()
}
S pozdravom / Best regards
Daniel Kucera.
2017-05-17 15:47 GMT+02:00 Daniel P. Berrange <berrange@redhat.com>:
> On Wed, May 17, 2017 at 03:41:09PM +0200, Daniel Kučera wrote:
> > Hi Daniel,
> >
> > I tried that but it doesn't
2017 May 17
2
Callback re-registration after libvirtd restart
Hi all,
I'm using libvirt-go and I following code to listen for lifecycle events:
func event_listen() {
log.Printf("event_listen %s", conf.Libvirt.LocalUrl)
hv, err := libvirt.NewConnect(conf.Libvirt.LocalUrl)
lifecycleCallback := func(c *libvirt.Connect, d *libvirt.Domain, event
*libvirt.DomainEventLifecycle) {
event_message(c, d, "lifecycle", event)
2017 Nov 16
0
Re: virtlock - a VM goes read-only
On Wed, Nov 15, 2017 at 02:24:48PM +0000, Branimir Pejakovic wrote:
> Dear colleagues,
>
> I am facing a problem that has been troubling me for last week and a half.
> Please if you are able to help or offer some guidance.
>
> I have a non-prod POC environment with 2 CentOS7 fully updated hypervisors
> and an NFS filer that serves as a VM image storage. The overall
2008 May 10
1
BiodiversityRGUI_problem2
After some investigation I found out that constrained ordination is working
fine under R version 6.5.0 and 6.5.1 but not under any of newer versions. Is
it posible to repair/make something in for example newest version of R 7.0
lito enble correct using of constrained ordination under BiodiversityRGUI
environment?
[[alternative HTML version deleted]]
2011 Apr 17
5
cube root
This is some interesting:
> -8^(1/3)
[1] -2
> x=(-8:8)
> y=x^(1/3)
> y
[1] NaN NaN NaN NaN NaN NaN NaN NaN
0.000000 1.000000
[11] 1.259921 1.442250 1.587401 1.709976 1.817121 1.912931 2.000000
So, can anybody explain this?! (Why is x[1]^(1/3)=y[1]=NaN, but
-8^(1/3)=-2?)
Thx!!!
[[alternative HTML version deleted]]
2012 Jan 28
2
wireframe_box_axis
Dear all!
I am using wireframe function from lattice package.
Is it possible to remove box around the plot but to keep axis (x, y, z)?
Thanks in advance!
[[alternative HTML version deleted]]
2003 Jan 03
0
cmeans visualisation
Hi all R-helpers!!!
I have only one small question: Which visualisation method would you
suggest for results of function cmeans {e1071}?
Thanks!
Branimir K. Hackenberger
2003 Oct 09
1
R-OpenOffice.org Calc
I have been very satisfied with R-Excel interface (DCOM). Few months ago
I have changed my OS to Linux-Mandrake, and now I am using
OpenOffice.org Calc as spreadsheet. I would like to know does exist some
R-OpenOffice.org interface or how is possible to use R-functions in
OpenOffice.org Calc?
Thanks a lot!
2017 May 17
0
Re: Callback re-registration after libvirtd restart
On Wed, May 17, 2017 at 03:08:23PM +0200, Daniel Kučera wrote:
> Hi all,
>
> I'm using libvirt-go and I following code to listen for lifecycle events:
>
> func event_listen() {
> log.Printf("event_listen %s", conf.Libvirt.LocalUrl)
> hv, err := libvirt.NewConnect(conf.Libvirt.LocalUrl)
>
> lifecycleCallback := func(c *libvirt.Connect, d
2017 May 17
0
Re: Callback re-registration after libvirtd restart
On Wed, May 17, 2017 at 03:49:45PM +0200, Daniel Kučera wrote:
> No, I'm not, I'm calling it sooner:
>
> func libvirt_start() {
> libvirt.EventRegisterDefaultImpl()
> event_listen()
> }
Well the following example works as expected for me
package main
import (
"github.com/libvirt/libvirt-go"
"log"
)
func
2017 May 17
0
Re: Callback re-registration after libvirtd restart
On Wed, May 17, 2017 at 03:41:09PM +0200, Daniel Kučera wrote:
> Hi Daniel,
>
> I tried that but it doesn't work:
>
> func libvirt_close_callback(conn *libvirt.Connect, reason
> libvirt.ConnectCloseReason){
> log.Printf("close callback: %+v", reason)
> }
>
> func event_listen() {
> log.Printf("event_listen %s",
2017 May 17
1
Re: Callback re-registration after libvirtd restart
2017-05-17 15:52 GMT+02:00 Daniel P. Berrange <berrange@redhat.com>:
> On Wed, May 17, 2017 at 03:49:45PM +0200, Daniel Kučera wrote:
> > No, I'm not, I'm calling it sooner:
> >
> > func libvirt_start() {
> > libvirt.EventRegisterDefaultImpl()
> > event_listen()
> > }
>
> Well the following example works as expected for me