Dirk Heinrichs <
dirk.he...@altum.de> wrote:
>
wil...@wilbur.25thandClement.com wrote:
>
>> Has anybody had recent experience coaxing Solaris 11.1 to work under QEMU
>> KVM 2.0.0?
>
> Not Solaris, but OpenIndiana. The Solaris 11.2 beta installation ISO doesn't
> even boot under KVM 2.0.0 on my Debian box, using virt-manager to setup the
> VMs.
Yeah, I'm going to try OpenIndiana next, but it seems like they're diverging
so it's not as useful for porting to Solaris.
>> I have a Solaris image installed in VMWare (Fusion Desktop) to help with
>> porting software, but I'd much rather have it running on a server under
>> KVM. I can complete the install, but networking just won't work.
>
> Can you be more specific. Devices not recognized in the guest, or hosts not
> reachable,...?
On boot up I get these on the console
WARNING: /pci@0,0/pci1af4,1100@1,2 (uhci0): Connecting device on port 1 failed
WARNING: rtls0: Failure resetting PHY.
I think only the second one is relevant. In dmesg, before the PHY warning, is
NOTICE: rtls0 registered
$ ifconfig net0
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 38.99.63.182 netmask fffffff0 broadcast 38.99.63.191
I get the PHY warning in software-emulated QEMU, too, but networking still
works.
Given your issues with 11.2 I'm guess I'll just have to give up.
>> Everything works under QEMU with pure emulation (same psuedo-devices, same
>> configuration). But emulation is prohibitively slow and too power hungry.
>
> That's the same with OI, too. If you want it to be fast, you'd need the
> VirtIO drivers in the guest. Don't know whether they're available for OI or
> Solaris, though.
>
>> I've tried different emulated ethernet cards. But I think it may be a
>> problem with Solaris' PCI drivers. Something about KVM is making it behave
>> differently.
>
> See above. If you can use the VirtIO devices for your NICs and HDs, it will
> run faster.
I'm just compiling software, and nothing too large. Disk or network I/O
isn't of much a concern. And AFAICT Solaris doesn't have VirtIO support.
That was added to OpenIndiana and kin. The open source driver for Solaris 10
doesn't work on 11.