[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] [Qemu-ppc] [Help]How to simulate a power8 guest on X8

From: Thomas Huth
Subject: Re: [Qemu-discuss] [Qemu-ppc] [Help]How to simulate a power8 guest on X86 host
Date: Mon, 19 Dec 2016 09:42:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 19.12.2016 04:02, 顾政 wrote:
> Hi all, 
> I tried to simulate a ppc64 guest to install Ubuntu-16.04.1-server-ppc64el:
> But it failed (start kernel paniced) after enter the install stage,
> following is the detail command (generated via virtual manager):
> //usr/local/bin/qemu-system-ppc64 -name generic-ppc64le -S -machine
> pseries-2.6,accel=tcg,usb=off -m 2048 -realtime mlock=off -smp
> 2,sockets=2,cores=1,threads=1 -uuid 6c4818cf-6b8b-41b4-89ab-cf3b6f5d82d4
> -no-user-config -nodefaults -chardev
> socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-generic-ppc64le/monitor.sock,server,nowait
> -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc
> -no-shutdown -boot strict=on -device pci-ohci,id=usb,bus=pci.0,addr=0x2
> -device spapr-vscsi,id=scsi0,reg=0x2000 -device
> virtio-scsi-pci,id=scsi1,bus=pci.0,addr=0x5 -drive
> file=/home/vms/vdisks/ppc-ubuntu16.qcow2,if=none,id=drive-scsi0-0-0-0,format=qcow2
> -device
> scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=2
> -drive
> file=/root/data/ubuntu-16.04.1-server-ppc64el.iso,if=none,id=drive-scsi1-0-0-0,readonly=on,format=raw
> -device
> scsi-cd,bus=scsi1.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi1-0-0-0,id=scsi1-0-0-0,bootindex=1
> -netdev tap,fd=24,id=hostnet0 -device
> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:d5:c3:f4,bus=pci.0,addr=0x1
> -chardev pty,id=charserial0 -device
> spapr-vty,chardev=charserial0,reg=0x30000000 -device usb-kbd,id=input0
> -device usb-mouse,id=input1 -vnc -device
> VGA,id=video0,vgamem_mb=16,bus=pci.0,addr=0x4 -device
> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -msg timestamp=on/
> /
> /
> Any guys met similar problem? or succeed in simulating and installing a
> power8 guest before?
> Looking forward to your response.

As far as I can see, you did not specify the CPU type in your parameter
list, so try to add a "-cpu POWER8" to see if that helps.
Then, in case you still have trouble, try to omit the virtio-balloon
device ... there have been some endianess issues with that device in the
past, and if Ubuntu did not pick up these patches yet, it might cause
some trouble.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]