[uml-user] do UML guests need NTP?

2012-02-09 Thread Riccardo Murri
Hello,

is NTP needed on UML VMs?

Or does the UML kernel take the time from the host kernel? (so it's
enough if the host runs NTP)

Thanks,
Riccardo

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


[uml-user] SELinux inside a UML

2012-02-09 Thread Nicolas Greneche
Hi,

I would like to create a SELinux aware UML. I compiled a ARCH=um kernel 
with SELinux activated.

The UML starts but SELinux seems to be disabled. Libselinux is installed 
so I have userspace tools to check selinux availability and mode 
(permissive, targeted or strict).

Does somebody have a positive feedback about putting SELinux inside a UML ?

Regards,

-- 
Nicolas Grenèche

Centre de Ressources Informatiques
Université Paris NORD / UP13
99, avenue Jean-Baptiste Clément
93430 Villetaneuse

Tel : 01 49 40 40 35
Fax : 01 48 22 81 50

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


[uml-user] [PATCH 07/60] um: remove the second argument of k[un]map_atomic()

2012-02-09 Thread Cong Wang
Signed-off-by: Cong Wang 
---
 arch/um/kernel/skas/uaccess.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/um/kernel/skas/uaccess.c b/arch/um/kernel/skas/uaccess.c
index 9fefd92..cd7df79 100644
--- a/arch/um/kernel/skas/uaccess.c
+++ b/arch/um/kernel/skas/uaccess.c
@@ -69,7 +69,7 @@ static int do_op_one_page(unsigned long addr, int len, int 
is_write,
return -1;
 
page = pte_page(*pte);
-   addr = (unsigned long) kmap_atomic(page, KM_UML_USERCOPY) +
+   addr = (unsigned long) kmap_atomic(page) +
(addr & ~PAGE_MASK);
 
current->thread.fault_catcher = &buf;
@@ -82,7 +82,7 @@ static int do_op_one_page(unsigned long addr, int len, int 
is_write,
 
current->thread.fault_catcher = NULL;
 
-   kunmap_atomic((void *)addr, KM_UML_USERCOPY);
+   kunmap_atomic((void *)addr);
 
return n;
 }
-- 
1.7.7.6


--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user