WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] OS X on Xen - Working!!!

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] OS X on Xen - Working!!!
From: Luis Vinay <luisvinay@xxxxxxxxx>
Date: Tue, 26 Feb 2008 18:08:34 -0200
Delivery-date: Tue, 26 Feb 2008 12:16:52 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=AewryDBiKCdgA05jU8OaM0bz9De0mrzL3QgwIP9r1lg=; b=cGHPGVZFov9SP6dj+0RU1fnxniRNqhYM3AYpYYf3AvCEKi3Qgd+4McSyC5zgZnO79/1iUL8qoyQ3itQkk6KnSfv2XukvdvIUA51CHi8ErEC+ywsevnzA6oB3EAMM64YGJUAmCvaZ5vuHAs4vBypeO+kiKI7O3HcxbSRRuWYS2Ik=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=EH2AVNzcW52Ne9sSnLq/ZpSsocAiIMRfyawZpwZ3RestekSelTCu+2vjCBuci8EmUTpxwhObe3WMn6NBE0xHGiV310VleMbl6dh3jd1bXIbDFw6BaL6ZUXIaSv1U/KKcS7DElBqCG+hOUPZA82AVveY7Gr+GClEC/61qjt7Q9qs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I finally was able to run Mac OSX (for intel) on the Xen of my laptop,
the OS X version that is working is "Mac OS X 10.4.10". At first it
didn't booted, but after modifying some options in the configuration
file I got it working (see below). Also let the dump of my 'xm info' and
what the OS X informs of the system is running

Cheers!

Luis Vinay


# -----------------------------------------------------------
Configuration file "osx.hvm":

import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024

name = "osx"

pae=0
acpi=1
apic=1

#vif = [ 'type=ioemu, bridge=xenbr1, mac=00:16:3e:0A:00:11' ]

disk = [ 'file:OSX.qcow,hda,w' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

boot="c"
sdl=1
vnc=0
vncunused=1
vncpasswd='..luis'

stdvga=0
serial='pty'
monitor=1

# -------------------------------------------------------
"xm info" dump:


host                   : eine
release                : 2.6.18-xen0
version                : #3 Thu Dec 20 12:40:27 ART 2007
machine                : x86_64
nr_cpus                : 1
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 2009
hw_caps                :
078bfbff:ebd3fbff:00000000:00000010:00002001:0000001d:0000001d
total_memory           : 1918
free_memory            : 337
xen_major              : 3
xen_minor              : 1
xen_extra              : .0
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64 
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20061115 (prerelease) (Debian
4.1.1-21)
cc_compile_by          : root
cc_compile_domain      : luisv.com.ar
cc_compile_date        : Thu Dec 20 12:21:28 ART 2007
xend_config_format     : 4

# -------------------------------------------------------------

"About this mac -> More info":

Machine Name: Mac
Machine Model: ACPI
CPU Type: AMD Turion(tm)64
Number Of CPUs: 1
CPU Speed: 2.01GHz
L2 Cache (per CPU): 512KB
CPU Features: FPU VME DE PSE TSC MSR MCE CX8 APIC SEP MTRR PGE MCA CMOV
PAT CLFSH MMX FXSR SSE SSE2 SSE3 CX16
Memory : 1 GB
Bus Speed: 256 MHz
Boot ROM Version: 3.1.0 (Xen)
Serial Number: YM8659M6W0A




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>