<div dir="ltr">On Tue, 22 Sep 2020 at 16:48, Cole Robinson <<a href="mailto:crobinso@redhat.com">crobinso@redhat.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 9/20/20 4:46 PM, Peter Crowther wrote:<br>
> On Sun, 20 Sep 2020 at 21:10, Cole Robinson <<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a><br>
> <mailto:<a href="mailto:crobinso@redhat.com" target="_blank">crobinso@redhat.com</a>>> wrote:<br>
> [...]<br>
> <br>
>     2) Default to --os-variant detect=on,name=<virtio-something>. 'give me<br>
>     virtio' is representative of what most virt-install users want. But this<br>
>     adds some new corner cases, ex if anyone is using virt-install with<br>
>     windows up until now they could get away without specifying a<br>
>     --os-variant and things would generally work, but now if we default to<br>
>     virtio windows out of the box is not going to install. I kinda doubt<br>
>     many people are using virt-install with windows though.<br>
> <br>
> <br>
> As feedback, this is the single largest use case in the main<br>
> virtualisation cluster I manage.  CentOS hosts, 90% Windows 7(!) and 8.1<br>
> guests.  We have our virt-install scripted to add a floppy drive with<br>
> autoinstall file, virtio drivers, and a few other bits and pieces like a<br>
> minimal puppet client install (surprisingly non-trivial in Windows 7<br>
> gold), so we could live with such a change; but please don't assume that<br>
> if the hosts are Linux then the guests are also likely to be Linux.<br>
> <br>
<br>But presumably you are already specifying an --os-variant though? In<br>
which case you would be fine even if the default changes.<br></blockquote><div><br></div><div>Yes, we are.</div><div><br></div><div>On the principle of least surprise, I would suggest "Option 3" of your two suggestions: virt-install warns but succeeds for such an install.  I don't think it's unreasonable to default to slower emulated hardware rather than virtio as long as the user gets a reasonably helpful notice that virt-install doesn't know what else to do so has gone for a slow fail-safe.</div><div><br></div><div>Cheers,</div><div><br></div><div>- Peter<br>
</div></div></div>