<div dir="ltr">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.<div>It contains:</div><div><br></div><div>qemu-system-x86_64 -m 4096 -smp 4 -hda /dev/dsk/c0t0d0p0 -serial stdio<br></div><div><br></div><div>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.)</div><div><br></div><div>-Nahum</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 8, 2017 at 1:53 PM, Dirk Willems <span dir="ltr"><<a href="mailto:dirk.willems@exitas.be" target="_blank">dirk.willems@exitas.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello Nahum,</p>
<p><br>
</p>
<p>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 ;)</p>
<p>But another question, do you have experience with adding raw
devices in KVM ?</p>
<p><br>
</p>
<p>Thanks in advance.</p>
<p><br>
</p>
<p>Kind Regards,</p>
<p><br>
</p>
<p>Dirk<br>
</p><div><div class="h5">
<br>
<div class="m_-7310273827140515615moz-cite-prefix">On 08-03-17 16:06, Nahum Shalman wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">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.
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>(I suspect that "cd /KVM_Machines/JDN && bash -x
./JDN01_Start-VM.sh" will provide the information needed)</div>
<div><br>
</div>
<div>-Nahum</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 3, 2017 at 10:12 AM, Dirk
Willems <span dir="ltr"><<a href="mailto:dirk.willems@exitas.be" target="_blank">dirk.willems@exitas.be</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>I experience some issue's with too many IDE bus on KVM
?</p>
<p>I'm only allowed to having 3 HDD, when I add the fourth
HDD I get the following error</p>
<p>qemu: too many IDE bus</p>
<p>root@OmniosExitas:/KVM_Machine<wbr>s/JDN#
./JDN01_Start-VM.sh <br>
qemu-system-x86_64: -net vnic,vlan=0,name=net0,ifname=V<wbr>LJDN01,macaddr=2:8:20:2:4b:a4,<wbr>:
vnic dhcp disabled<br>
<br>
qemu-system-x86_64: -net vnic,vlan=1,name=net1,ifname=V<wbr>SJDN01,macaddr=2:8:20:67:1:7c,<wbr>:
vnic dhcp disabled<br>
<br>
qemu: too many IDE bus<br>
Failed to start VM<br>
Started VM:<br>
Public: 127.0.0.1<br>
10.100.23.86<br>
::1/128<br>
::/0:5903</p>
<p><br>
</p>
<p>I just upgrade to <br>
</p>
<p>root@OmniosExitas:/KVM_Machine<wbr>s/JDN# uname -a<br>
SunOS OmniosExitas 5.11 omnios-r151020-4151d05 i86pc
i386 i86pc<br>
<br>
</p>
<p> Any suggestions ?</p>
<p><br>
</p>
<p>Thanks in advance.</p>
<p><br>
</p>
<p>Kind Regards.</p>
<p><br>
</p>
<p>Dirk <br>
</p>
<p><br>
</p>
<br>
<div class="m_-7310273827140515615m_-5009702653048373764moz-signature">-- <br>
<table style="width:400px;border-collapse:collapse" cellpadding="0" cellspacing="0" width="400">
<tbody>
<tr>
<td width="150"> <img src="cid:part2.5A0E62F6.11256F87@exitas.be" style="border:none;border-collapse:collapse;width:130px;height:130px" border="0" width="130" height="130"></td>
<td style="width:230px;font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;vertical-align:top" width="250"> <span style="font-weight:700;font-size:15px">Dirk
Willems</span><br>
<span style="font-weight:500;font-size:12px;color:e20521;line-height:21px">
System Engineer </span><br>
<br>
<br>
<a href="tel:+32%203%20443%2012%2038" value="+3234431238" target="_blank">+32 (0)3
443 12 38</a><br>
<a href="mailto:Dirk.Willems@exitas.be" style="color:#215973" target="_blank">Dirk.Willems@exitas.be</a><br>
<br>
Quality. Passion. Personality </td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td colspan="2" style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;padding-top:5px"><a href="http://www.exitas.be/" style="color:#215973" target="_blank">www.exitas.be</a>
| Veldkant 31 | 2550 Kontich</td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:500;color:#215973;padding-top:5px">
Illumos OmniOS Installation and Configuration
Implementation Specialist. <br>
Oracle Solaris 11 Installation and Configuration
Certified Implementation Specialist. </td>
<td width="400"><img src="cid:part6.E4E8731F.EA0596CB@exitas.be" style="border:none;border-collapse:collapse;width:236px;height:126px" border="0" width="236" height="126"></td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com" target="_blank">OmniOS-discuss@lists.omniti.co<wbr>m</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailma<wbr>n/listinfo/omnios-discuss</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<div class="m_-7310273827140515615moz-signature">-- <br>
<table style="width:400px;border-collapse:collapse" cellpadding="0" cellspacing="0" width="400">
<tbody>
<tr>
<td width="150"> <img src="cid:part9.C42BE3FD.1717F6FF@exitas.be" style="border:none;border-collapse:collapse;width:130px;height:130px" border="0" width="130" height="130"></td>
<td style="width:230px;font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;vertical-align:top" width="250"> <span style="font-weight:700;font-size:15px">Dirk Willems</span><br>
<span style="font-weight:500;font-size:12px;color:e20521;line-height:21px"> System Engineer </span><br>
<br>
<br>
<a href="tel:+32%203%20443%2012%2038" value="+3234431238" target="_blank">+32 (0)3 443 12 38</a><br>
<a href="mailto:Dirk.Willems@exitas.be" style="color:#215973" target="_blank">Dirk.Willems@exitas.be</a><br>
<br>
Quality. Passion. Personality </td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td colspan="2" style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:300;color:#215973;padding-top:5px"><a href="http://www.exitas.be/" style="color:#215973" target="_blank">www.exitas.be</a>
| Veldkant 31 | 2550 Kontich</td>
</tr>
<tr>
<td> <br>
</td>
</tr>
<tr>
<td style="font-family:Arial;font-size:12px;line-height:15px;border-collapse:collapse;font-weight:500;color:#215973;padding-top:5px">
Illumos OmniOS Installation and Configuration
Implementation Specialist.
<br>
Oracle Solaris 11 Installation and Configuration Certified
Implementation Specialist.
</td>
<td width="400"><img src="cid:part12.8573188D.5CB21C92@exitas.be" style="border:none;border-collapse:collapse;width:236px;height:126px" border="0" width="236" height="126"></td>
</tr>
</tbody>
</table>
</div>
</div></div></div>
</blockquote></div><br></div>