search for: virdomainopenconsole

Displaying 10 results from an estimated 10 matches for "virdomainopenconsole".

2015 Feb 01
2
Vepa use vf?
1. Does vepa mode in libvirt use sr-iov ? 2. How can I do port mirroring with sr-iov? vepa This network uses a macvtap "direct" connection in "vepa" mode to connect each guest to the network (this requires that the physical interfaces used be connected to a vepa-capable hardware switch. The physical interface to be used will be picked from among those listed in
2015 May 21
1
Qemu-guest agent
Hi all, I am new to libvirt, I am trying to execute some commands inside guest domains from my host machine using libvirt-Python API. So far I have been able to open up a stream but I am not sure how to send commands on the stream (through virDomainOpenConsole). After hours of searching through different forums I found out that there is a utlity called qemu-guest agent which can solve my problem. But I am not sure how to enable this agent on host and domain, and how this will be used to communicate to guest domains. Any help in this matter will be really...
2016 Apr 07
3
how to list and kill existing console sessions to VMs?
Hi everyone, If a VM is configured to have a console attached to it, like using http://libvirt.org/formatdomain.html#elementCharConsole Libvirt offers access to VM serial console's using the virDomainOpenConsole API[1] However, I didn't find a way to 1. list the existing connections to the console 2. kill an existing connection - without reconnecting using VIR_DOMAIN_CONSOLE_FORCE[2] Am I missing something? How can I do that? Rationale for my request oVirt [3] offers a management interface for VMs, a...
2013 Dec 26
2
how to use openConsole and openGraphics
hi,all 1.how to use openConsole and openGraphics? 2.what is the theory of that? thanks
2013 Dec 28
1
Re: how to use openConsole and openGraphics
...bvirt show guest's screen. thanks, Eric Blake At 2013-12-28 04:30:30,"Eric Blake" <eblake@redhat.com> wrote: >On 12/26/2013 01:46 AM, yue wrote: >> hi,all >> 1.how to use openConsole and openGraphics? > >See tools/virsh-console.c for an example use of virDomainOpenConsole. >virDomainOpenGraphics is probably similar. > >> >> 2.what is the theory of that? > >Your question is very vague. What are you trying to accomplish, so that >we can better determine how to answer it? > >-- >Eric Blake eblake redhat com +1-919-301-3266 &...
2014 May 18
1
help to implement LXC terminal
Hi, guys! I began to write qt-virt-manager (https://github.com/F1ash/qt-virt-manager), using libvirt API. I'm currently trying to implement a terminal for LXC-containers, but I do not have enough knowledge and experience. As I understand it, i must use virDomainOpenConsole, which binds virStream with working domain (Virtual Machine). But how to use this stream, I do not know ( I found qterminalwidget to implement the terminal, but I do not know how to tie them). Can anyone suggest how can I do? -- Fl@sh
2012 Nov 02
1
One possible plan for remote support
John, It's probably worth setting out from what the problem is / what we are trying to solve here. At the moment if you run a command like: virt-inspector -d Guest then libguestfs asks libvirt [-d option] for the XML corresponding to the libvirt guest called 'Guest'. This will contain disk sections like this: <disk type='block' device='disk'>
2013 Dec 27
0
Re: how to use openConsole and openGraphics
On 12/26/2013 01:46 AM, yue wrote: > hi,all > 1.how to use openConsole and openGraphics? See tools/virsh-console.c for an example use of virDomainOpenConsole. virDomainOpenGraphics is probably similar. > > 2.what is the theory of that? Your question is very vague. What are you trying to accomplish, so that we can better determine how to answer it? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://lib...
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL, I just look for the class and method to use blockcopy in libvirt-java on this page: http://libvirt.org/sources/java/javadoc/ However, I can not find out. Libvirt-java Support blockcopy ? Thanks. Best Regards, Star Guo
2015 Feb 02
0
virStream text codec
Hi. I'm try to use virDomainOpenConsole( domainPtr, NULL, stream, VIR_DOMAIN_CONSOLE_SAFE) for control remote terminal, but i don't understand in which text codec the stream returns a data?