Re: [libvirt] PCI devices passthough to LXC containers using libvirt

2011-08-04 Thread Devendra K. Modium
if any. Thanks in advance Regards Devendra - Original Message - From: "Daniel P. Berrange" To: "Devendra K. Modium" Cc: libvir-list@redhat.com Sent: Thursday, August 4, 2011 11:53:02 AM Subject: Re: [libvirt] PCI devices passthough to LXC containers using lib

Re: [libvirt] PCI devices passthough to LXC containers using libvirt

2011-07-28 Thread Devendra K. Modium
TTY, LXC_DEV_MIN_PTMX}, {0, 0, 0}}; Please confirm this or let me know if there is any other interface libvirt_lxc provides to allow specific pci/other devices into container. Thanks in advance Regards Devendra - Original Message - From: "Alex Jia" To: "Dev

[libvirt] PCI devices passthough to LXC containers using libvirt

2011-07-27 Thread Devendra K. Modium
Hi All Please let me know if anyone have given access to PCI devices for a LXC container. I have tried getting the xml from "virsh nodedev-dumpxml pci_device" and added to the libvirt xml file as shown below pci__03_00_0 pci__00_03_0 nvidia 0 3 0 0

Re: [libvirt] Environmental Variables inside a container

2011-07-27 Thread Devendra K. Modium
w its not an libvirt issue, if its not passing on environment, just wanted to know if you have some knowledge about what might going on. Thanks in advance Regards Devendra - Original Message - From: "Eric Blake" To: "Devendra K. Modium" Cc: libvir-list@redhat.com

[libvirt] Environmental Variables inside a container

2011-07-27 Thread Devendra K. Modium
Hi All I am trying to pass an environmental flag to the LXC container when it is started.I found libvirt_lxc is already doing it in lxc_container.c as shown below static virCommandPtr lxcContainerBuildInitCmd(virDomainDefPtr vmDef) { char uuidstr[VIR_UUID_STRING_BUFLEN]; virCommandPtr c