qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] VMWare to KVM does not boot SCSI


From: Oscar Segarra
Subject: [Qemu-discuss] VMWare to KVM does not boot SCSI
Date: Mon, 17 Jul 2017 22:17:25 +0200

Hi,

In my enviroment I have created a new VM Centos 7.3 in VMWare Workstation
12 with SCSI controller (just the only one selectable):

[image: Imágenes integradas 1]

Then I convert the vmdk to qcow2 and I install the VM using virt-install:

virt-install --import --name vdiccalamari2 --ram 512 --vcpus 1 --controller
type=scsi,model=virtio-scsi --disk
/opt/vdicube/repository/vdictemplate.qcow2,device=disk,format=qcow2,cache=directsync,
*bus=scsi* --network network:public,model=virtio,mac=52:54:00:a0:50:10
--network bridge=interconnect,model=virtio,mac=52:54:00:a0:A0:10
--os-type=linux --os-variant=centos7.0 --graphics
spice,listen=0.0.0.0,keymap=es --accelerate --noautoconsole.

But, when I startup the imported guest, It gets stuck:

[image: Imágenes integradas 2]

[image: Imágenes integradas 3]

The command line:

/usr/libexec/qemu-kvm -name vdiccalamari2 -S -machine
pc-i440fx-rhel7.0.0,accel=kvm,usb=off -cpu SandyBridge -m 512 -realtime
mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid
ec47fa04-1c4a-49d1-8e2a-df27ecc85a21 -no-user-config -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-20-vdiccalamari2/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc
base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet
-no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1
-boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x8.0x7
-device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x8
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x8.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x8.0x2
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x6 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x7 -drive
file=/opt/vdicube/repository/vdictemplate.qcow2,format=qcow2,if=none,id=drive-scsi0-0-0-0,cache=directsync
-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=1
-netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=29 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:a0:50:10,bus=pci.0,addr=0x3
-netdev tap,fd=30,id=hostnet1,vhost=on,vhostfd=31 -device
virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:a0:a0:10,bus=pci.0,addr=0x4
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-20-vdiccalamari2/org.qemu.guest_agent.0,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0
-chardev spicevmc,id=charchannel1,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=com.redhat.spice.0
-device usb-tablet,id=input0,bus=usb.0,port=1 -spice
port=5900,addr=0.0.0.0,disable-ticketing,image-compression=off,seamless-migration=on
-k es -vga qxl -global qxl-vga.ram_size=67108864 -global
qxl-vga.vram_size=67108864 -global qxl-vga.vgamem_mb=16 -device
intel-hda,id=sound0,bus=pci.0,addr=0x5 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
spicevmc,id=charredir0,name=usbredir -device
usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev
spicevmc,id=charredir1,name=usbredir -device
usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x9 -msg timestamp=on

Nolthing appears in logs.

Any help will be welcome!

Thanks a lot.

PD: I have made the same test with Oracle Virtualbox (which uses IDE and
guest starts pefectly).

PNG image

PNG image

PNG image


reply via email to

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