From 163769ace5dc8d67f7a6f18b71698ca569b46395 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 10 Feb 2011 12:27:12 +0000 Subject: [PATCH] * Write hypervisor log messages to /var/log/xen/console. svn path=/nixos/trunk/; revision=25882 --- modules/virtualisation/xen-dom0.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/virtualisation/xen-dom0.nix b/modules/virtualisation/xen-dom0.nix index 7b8c5f3dd90b..cb71f4137aba 100644 --- a/modules/virtualisation/xen-dom0.nix +++ b/modules/virtualisation/xen-dom0.nix @@ -116,8 +116,12 @@ in pkgs.utillinux pkgs.bash xen pkgs.pciutils pkgs.procps ]; + environment.XENCONSOLED_TRACE = "hv"; + preStart = '' + mkdir -p /var/log/xen/console -m 0700 + ${xen}/sbin/xend start # Wait until Xend is running.