[OmniOS-discuss] qemu: too many IDE bus

Nahum Shalman nshalman at omniti.com
Thu Mar 9 17:10:00 UTC 2017


On my SmartOS box I have a one-line script I use for verifying that my USB
stick is still bootable after I update the platform image on it.
It contains:

qemu-system-x86_64 -m 4096 -smp 4 -hda /dev/dsk/c0t0d0p0 -serial stdio

So you should be able to do that with any raw hard drive you might want to
pass through to a virtual machine. (Though I would recommend doing it with
the fancier "-drive" syntax and passing it through with a non-ide
controller.)

-Nahum


On Wed, Mar 8, 2017 at 1:53 PM, Dirk Willems <dirk.willems at exitas.be> wrote:

> Hello Nahum,
>
>
> My apologize in the meantime I had found the solution with changing the
> IDE with the virtio, the ide is indeed limit to 4 devices but now it's
> running perfectly  thanks ;)
>
> But another question, do you have experience with adding raw devices in
> KVM ?
>
>
> Thanks in advance.
>
>
> Kind Regards,
>
>
> Dirk
>
> On 08-03-17 16:06, Nahum Shalman wrote:
>
> I would think that depending on how you're invoking QEMU (it looked like
> the full qemu command line was truncated from the output you pasted) it'
> allocating one of the 4 available IDE slots to a virtual CDROM. Depending
> on your guest OS you could consider using a different virtual controller
> for the virtual disks, or you might be able to tell qemu not to allocate a
> virtual cdrom drive.
>
> If you want to share the full qemu command line being invoked I'm happy to
> take a quick look at it to see if I can figure out a simple way to improve
> it.
>
> (I suspect that "cd /KVM_Machines/JDN && bash -x ./JDN01_Start-VM.sh" will
> provide the information needed)
>
> -Nahum
>
> On Fri, Mar 3, 2017 at 10:12 AM, Dirk Willems <dirk.willems at exitas.be>
> wrote:
>
>> Hello,
>>
>> I experience some issue's with too many IDE bus on KVM ?
>>
>> I'm only allowed to having 3 HDD, when I add the fourth HDD I get the
>> following error
>>
>> qemu: too many IDE bus
>>
>> root at OmniosExitas:/KVM_Machines/JDN# ./JDN01_Start-VM.sh
>> qemu-system-x86_64: -net vnic,vlan=0,name=net0,ifname=V
>> LJDN01,macaddr=2:8:20:2:4b:a4,: vnic dhcp disabled
>>
>> qemu-system-x86_64: -net vnic,vlan=1,name=net1,ifname=V
>> SJDN01,macaddr=2:8:20:67:1:7c,: vnic dhcp disabled
>>
>> qemu: too many IDE bus
>> Failed to start VM
>> Started VM:
>> Public: 127.0.0.1
>> 10.100.23.86
>> ::1/128
>> ::/0:5903
>>
>>
>> I just upgrade to
>>
>> root at OmniosExitas:/KVM_Machines/JDN# uname -a
>> SunOS OmniosExitas 5.11 omnios-r151020-4151d05 i86pc i386 i86pc
>>
>> Any suggestions ?
>>
>>
>> Thanks in advance.
>>
>>
>> Kind Regards.
>>
>>
>> Dirk
>>
>>
>>
>> --
>> Dirk Willems
>> System Engineer
>>
>>
>> +32 (0)3 443 12 38 <+32%203%20443%2012%2038>
>> Dirk.Willems at exitas.be
>>
>> Quality. Passion. Personality
>>
>> www.exitas.be | Veldkant 31 | 2550 Kontich
>>
>> Illumos OmniOS Installation and Configuration Implementation Specialist.
>> Oracle Solaris 11 Installation and Configuration Certified Implementation
>> Specialist.
>>
>> _______________________________________________
>> OmniOS-discuss mailing list
>> OmniOS-discuss at lists.omniti.com
>> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>>
>>
>
> --
> Dirk Willems
> System Engineer
>
>
> +32 (0)3 443 12 38 <+32%203%20443%2012%2038>
> Dirk.Willems at exitas.be
>
> Quality. Passion. Personality
>
> www.exitas.be | Veldkant 31 | 2550 Kontich
>
> Illumos OmniOS Installation and Configuration Implementation Specialist.
> Oracle Solaris 11 Installation and Configuration Certified Implementation
> Specialist.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170309/e8d3277a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: placeholder-exitas.jpg
Type: image/jpeg
Size: 12658 bytes
Desc: not available
URL: <https://omniosce.org/ml-archive/attachments/20170309/e8d3277a/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SmallPhoenixLogotypeRGB.png
Type: image/png
Size: 4648 bytes
Desc: not available
URL: <https://omniosce.org/ml-archive/attachments/20170309/e8d3277a/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 12658 bytes
Desc: not available
URL: <https://omniosce.org/ml-archive/attachments/20170309/e8d3277a/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4648 bytes
Desc: not available
URL: <https://omniosce.org/ml-archive/attachments/20170309/e8d3277a/attachment-0003.png>


More information about the OmniOS-discuss mailing list