Re: [libvirt-users] how to add/remove emulated usb removable devices to guests

2013-12-05 Thread Alexandr Gluzskiy
Alexandr писал 2013-12-04 04:38: Good day, i was not able to find api to add/remove usb removable devices to guest, i have windows machines and need to plug usb stick with some fs (fat or ntfs) which is image on host, i was found what it is possible and implemented in libvirt https://bugzilla.red

Re: [libvirt-users] correct way to hot-add cdrom ?

2013-12-05 Thread Alexandr Gluzskiy
Daniel P. Berrange писал 2013-12-05 13:33: On Thu, Dec 05, 2013 at 01:28:07PM +0200, Alexandr Gluzskiy wrote: Alexandr писал 2013-12-02 09:36: >Good day to all. i have problems with cdrom hot adding code. currently >i using virDomainAttachDevice with type=file, device=cdrom, dev=hdc, >this code

Re: [libvirt-users] man page

2013-12-05 Thread Fl@sh
On Thu, 05 Dec 2013 12:28:27 -0700 Eric Blake wrote: > On 12/05/2013 11:25 AM, Fl@sh wrote: > > It seems to me that the man page is not complete. > > _which_ manpage? > > > Personally, I had to read the code to understand. Propose to > > amend paragraph of included files on: > > > > -i GUEST-

Re: [libvirt-users] man page

2013-12-05 Thread Eric Blake
On 12/05/2013 11:25 AM, Fl@sh wrote: > It seems to me that the man page is not complete. _which_ manpage? > Personally, I had to read the code to understand. Propose to > amend paragraph of included files on: > > -i GUEST-PATH=HOST-PATH, --include GUEST-PATH=HOST-PATH > File (HOST

[libvirt-users] man page

2013-12-05 Thread Fl@sh
It seems to me that the man page is not complete. Personally, I had to read the code to understand. Propose to amend paragraph of included files on: -i GUEST-PATH=HOST-PATH, --include GUEST-PATH=HOST-PATH File (HOST-PATH) to copy into custom dir (GUEST-PATH). -I HOST-PATH, --incl

[libvirt-users] libvirt, Open vSwitch and iptables

2013-12-05 Thread Yoann Juet
Hi all, We're using since a long time libvirt with KVM guest machines and linux bridges. Firewall rules based on iptables and defined on the host server control inbound/outbound traffic to/from each VM. In order to improve remote administration facility and get extra services, it makes sense

[libvirt-users] Using Java bindings to event callback

2013-12-05 Thread Howie
Hi My test environment : CentOS 6.3 6.4 Ubuntu 13.10 For CentOS 6.4 libvirt-java-0.4.9-1.el6.noarch libvirt-python-0.10.2-29.el6.x86_64 libvirt-client-0.10.2-29.el6.x86_64 libvirt-0.10.2-29.el6.x86_64 I am try to use java bindings to event callback. int register = conn.domainEventRegisterAny(

Re: [libvirt-users] correct way to hot-add cdrom ?

2013-12-05 Thread Daniel P. Berrange
On Thu, Dec 05, 2013 at 01:28:07PM +0200, Alexandr Gluzskiy wrote: > Alexandr писал 2013-12-02 09:36: > >Good day to all. i have problems with cdrom hot adding code. currently > >i using virDomainAttachDevice with type=file, device=cdrom, dev=hdc, > >this code works for machine with one ide hdd and

Re: [libvirt-users] correct way to hot-add cdrom ?

2013-12-05 Thread Alexandr Gluzskiy
Alexandr писал 2013-12-02 09:36: Good day to all. i have problems with cdrom hot adding code. currently i using virDomainAttachDevice with type=file, device=cdrom, dev=hdc, this code works for machine with one ide hdd and one ide cdrom, but this not work for machine with only one ide hdd, and i l