Commit 47dd82a1 authored by Daniel P. Berrange's avatar Daniel P. Berrange

Add binding for virDomainQemuAttach

Signed-off-by: default avatarDaniel P. Berrange <>
parent cc087349
......@@ -101,3 +101,12 @@ func (d *Domain) QemuAgentCommand(command string, timeout DomainQemuAgentCommand
return rstring, nil
func (c *Connect) DomainQemuAttach(pid uint32, flags uint32) (*Domain, error) {
ptr := C.virDomainQemuAttach(c.ptr, C.uint(pid), C.uint(flags))
if ptr == nil {
return nil, GetLastError()
return &Domain{ptr: ptr}, nil
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment