Re: [libvirt-users] SR-IOV Pool Availability

2013-09-19 Thread Dax Kelson
I have an Intel X540 SR-IOV NIC in a box with ACS support running RHEL6.4. Hi Hongming, I'm hoping you can please help with two issues: 1. The pool works, but I transparent VLAN with the pool does not. I have to manually run "ip" afterwards to get it to work. # virsh net-dumpxml em2net em2ne

Re: [libvirt-users] Trouble using virStream with callbacks

2013-09-19 Thread Daniel P. Berrange
On Thu, Sep 19, 2013 at 12:59:33PM -0400, Jonathan Lebon wrote: > > poll() will be listening for i/o on the libvirt socket as well as > > stdin, so it'll see incoming I/O from the guest. > > That's strange, that's not what I'm seeing when running it step-by-step. I see > poll() hanging regardless

[libvirt-users] Libvirt not able to attach console to VM on ESX hypervisor

2013-09-19 Thread varun bhatnagar
Hi, I have started a virtual machine on my ESXi server. I was trying to attach a console to it but when I executed the command I got a message saying that *"Attaching a console is not supported in the current hypervisor." *Is there any way (patch or something) through which I can attach a console

Re: [libvirt-users] Trouble using virStream with callbacks

2013-09-19 Thread Daniel P. Berrange
On Thu, Sep 19, 2013 at 11:59:45AM -0400, Jonathan Lebon wrote: > I tried to dig a bit deeper in this. From my limited understanding, > it seems like stream events are implemented as enabled/disabled timers. > The issue is that if there's no data from the guest app pending, the > timeout in virEven

Re: [libvirt-users] Trouble using virStream with callbacks

2013-09-19 Thread Jonathan Lebon
> As a test why not try hacking virsh console so that it connects to your > virtio serial port, instead of a console. If we assume 'virsh console' > is bug-free, that would let you identify whether the flaw is in your host > code, or the guest side. Thanks for the pointer. Doing a few trivial chan

Re: [libvirt-users] Trouble using virStream with callbacks

2013-09-19 Thread Jonathan Lebon
I tried to dig a bit deeper in this. From my limited understanding, it seems like stream events are implemented as enabled/disabled timers. The issue is that if there's no data from the guest app pending, the timeout in virEventPollRunOnce will be calculated as -1. So then we block on the poll() an

Re: [libvirt-users] Trouble using virStream with callbacks

2013-09-19 Thread Jonathan Lebon
> poll() will be listening for i/o on the libvirt socket as well as > stdin, so it'll see incoming I/O from the guest. That's strange, that's not what I'm seeing when running it step-by-step. I see poll() hanging regardless of guest events. There are indeed two fds in the array (stdin and the othe