Re: [Libvir] A sample program to create a Linux Container

2008-01-25 Thread Daniel Hokka Zakrisson
Dave Leskovec wrote: Daniel Hokka Zakrisson wrote: Dave Leskovec wrote: Attached is a simple program that uses the clone() function to create a container. This is not intended as a patch - just an example of what creating a Linux Container looks like. Something along these lines

Re: [Libvir] [PATCH] Linux-VServer support

2008-01-15 Thread Daniel Hokka Zakrisson
Daniel P. Berrange wrote: On Wed, Jan 09, 2008 at 10:51:20PM +0100, Daniel Hokka Zakrisson wrote: This patch implements support for Linux-VServer guests. It is currently missing vcpu and console support, and the necessary virsh code to support it, but is otherwise pretty feature complete

Re: [Libvir] [PATCH] Linux-VServer support

2008-01-15 Thread Daniel Hokka Zakrisson
Daniel P. Berrange wrote: On Tue, Jan 15, 2008 at 03:43:37PM +, Daniel P. Berrange wrote: On Wed, Jan 09, 2008 at 10:51:20PM +0100, Daniel Hokka Zakrisson wrote: This patch implements support for Linux-VServer guests. It is currently missing vcpu and console support, and the necessary

Re: [Libvir] [RFC] Add Container support to libvirt

2008-01-15 Thread Daniel Hokka Zakrisson
to a decision. memory65536/memory devices console tty='/dev/pts/4'/ /devices /domain Does this look ok now? All comments and questions are welcome. Pretty close. Dan. -- Best Regards, Dave Leskovec IBM Linux Technology Center Open Virtualization -- Daniel Hokka

[Libvir] [PATCH] Keyboard layout support for QEMU/KVM

2008-01-14 Thread Daniel Hokka Zakrisson
This patch adds support for qemu's -k option, which is required to run virt-manager with a non-US keymap. Without it, keys are remapped a number of times, ending up with a completely unusable layout. Even with this patch I am having problems using the AltGr key, returning a scancode of 00. This

Re: [Libvir] PATCH: Fix stats overflow

2007-11-18 Thread Daniel Hokka Zakrisson
Daniel P. Berrange wrote: ... +if (stats-wr_bytes = ((unsigned long long)1)(63-9)) { ... Why not make that 1ULL? -- Daniel Hokka Zakrisson -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [Libvir] [RFC] Linux-VServer support

2007-11-06 Thread Daniel Hokka Zakrisson
Daniel Veillard wrote: On Thu, Nov 01, 2007 at 03:09:00AM +0100, Daniel Hokka Zakrisson wrote: Daniel Veillard wrote: On Wed, Oct 31, 2007 at 02:39:05PM +0100, Daniel Hokka Zakrisson wrote: Daniel Veillard wrote: I looked at the code, that seems clean but I have a concern about the overall

Re: [Libvir] [RFC] Linux-VServer support

2007-10-31 Thread Daniel Hokka Zakrisson
Daniel P. Berrange wrote: On Tue, Oct 30, 2007 at 04:28:59PM +0100, Daniel Hokka Zakrisson wrote: This is an initial stab at adding Linux-VServer support to libvirt. There are still a couple of things missing, like scheduler support in the XML parsing, and proper network support. Great

[Libvir] [RFC] Linux-VServer support

2007-10-30 Thread Daniel Hokka Zakrisson
new ones there? Would better introspection from getSchedulerType make this a non-issue? How do the network domains interact and associate with the regular domains? -- Daniel Hokka Zakrisson diff -Nurp libvirt-0.3.3.orig/configure.in libvirt-0.3.3.vserver/configure.in --- libvirt-0.3.3.orig