Bug 636139

Summary: RFE: QEMU attach: Attach to any running QEMU process
Product: [Community] Virtualization Tools Reporter: Daniel BerrangĂ© <berrange>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, eblake, ukrebs, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-19 21:23:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 636031    

Description Daniel Berrangé 2010-09-21 14:55:33 UTC
Description of problem:
Provide a mechanism for attaching to any running QEMU process, so that it becomes visible to libvirt applications.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Eric Blake 2012-04-19 21:23:23 UTC
Now released as part of 0.9.4.

commit eb7be6a6063936041de4a65154e35858e99b3ae7
Author: Daniel P. Berrange <berrange>
Date:   Thu May 5 17:32:07 2011 +0100

    Add a new 'virsh qemu-attach' command.
    
    This command allows libvirt to attach to an existing QEMU
    instance.
    
     $ qemu-kvm -cdrom ~/demo.iso \
         -monitor unix:/tmp/demo,server,nowait \
         -name foo \
         -uuid cece4f9f-dff0-575d-0e8e-01fe380f12ea  &
     $ QEMUPID=$!
     $ virsh qemu-attach $QEMUPID