qemu-discuss
[Top][All Lists]
Advanced

[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: 顾政
Subject: Re: [Qemu-discuss] [Qemu-ppc] [Help]How to simulate a power8 guest on X86 host
Date: Mon, 19 Dec 2016 21:10:53 +0800 (CST)

Hi Thomas,

Thanks for your quick response.
I removed unnecessary devices and changed pseries to pseries-2.8, now it works, following is the new script.
 /usr/local/bin/qemu-system-ppc64 -name generic-ppc64le -S -machine pseries-2.8,accel=tcg,usb=off -m 2048 -realtime mlock=off -smp 1,sockets=1,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 ahci,id=sata0,bus=pci.0,addr=0x6 -drive file=/home/vms/vdisks/ppc-ubuntu16.qcow2,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/root/data/ubuntu-16.04.1-server-ppc64el.iso,if=none,media=cdrom,id=drive-sata0-0-0,readonly=on,format=raw -device ide-cd,bus=sata0.0,drive=drive-sata0-0-0,id=sata0-0-0 -netdev tap,fd=23,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:d5:c3:f4,bus=pci.0,addr=0x1 -device usb-kbd,id=input0 -device usb-mouse,id=input1 -vnc 127.0.0.1:0 -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

Thanks,
Gu





At 2016-12-19 16:42:28, "Thomas Huth" <address@hidden> wrote: >On 19.12.2016 04:02, 顾政 wrote: >> Hi all, >> I tried to simulate a ppc64 guest to install Ubuntu-16.04.1-server-ppc64el: >> http://101.96.10.47/cdimage.ubuntu.com/releases/16.04/release/ubuntu-16.04.1-server-ppc64el.iso >> >> 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 127.0.0.1:0 -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. > > Thomas > >

reply via email to

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