まずはインストールディスクのイメージを抽出してファイルに落とす
Linux hostからddコマンドwin7dvd.isoというファイル名で保存しよう
$ dd if=/dev/cdrom of=win7dvd.iso
Windows host からはIsoBusterなどのフリーソフトを活用すればできるよ
あとは抽出したイメージ名と作成したいHDDのサイズを指定してやればいい
cpu_classを core-i7-simgleにしておくとシングルコアで早くなるよ
sata_modeはFALSEにしておこう
$iso_image = "targets/x86-x58-ich10/winXP.iso"
$disk_size = (80 * 1024 * 1024 * 1024)
$cpu_class = "core-i7-single"
$sata_mode = FALSE
if not defined iso_image {
echo ("ERROR: Please set $iso_image to the CD/DVD you want to boot from, "
+ "before running this script.")
exit
} else {
echo "Using: " + $iso_image
}
run-command-file "%script%/viper-dvdboot.simics"
X58-ICH10モデルには viper-dvdboot.simicsというスクリプトが添付されているので
それを呼び出してやれば簡単だ
インストールが完了したらHDDのイメージを保存しなければいけない
ディスクイメージを保存するコマンドは save-persistent-stateだ
simics> save-persistent-state instXP
simics> q
あとは保存したディスクイメージを使用するように
スクリプトを作成する。呼び出す本体スクリプトは
x86-x58-icd10-system.includeに変えているところをご注意
ディスクサイズも保存したときのものに合わせてね
$disk_image = "instXP/viper.disk.hd_image.craff"
$disk_size = (80 * 1024 * 1024 * 1024)
$cpu_class = "core-i7-single"
$sata_mode = FALSE
run-command-file "%simics%/targets/x86-x58-ich10/x86-x58-ich10-system.include"
instantiate-components
WindowsXPが立ち上がりますよ

Host Windows7 64bit
Simics-Base 1000 4.6.63
x86-Core-i7-X58-ICH10 2075 4.6.42
