qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH v6 0/6] Virtio refactoring.


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC PATCH v6 0/6] Virtio refactoring.
Date: Mon, 7 Jan 2013 20:02:32 +0000

On 7 January 2013 19:58, Michael S. Tsirkin <address@hidden> wrote:
> On Tue, Dec 18, 2012 at 12:30:20PM +0100, KONRAD Frédéric wrote:
>> The modifications will be transparent to the user, as we will keep
>> virtio-x-pci devices.
>
> Then what's the point of all this?
>
> -device virtio-pci,id=transport1 -device virtio-net,bus=transport1
>
> or
>
> -device virtio-mmio,id=transport1 -device virtio-net,bus=transport1
>
> Is simply an insane way to create a network device.

1. You wouldn't create the virtio-mmio transport on the command line,
the machine model does it (it has to because it's a sysbus device
and it needs the address/irq lines wiring up properly), so it's just
 "-device virtio-net" (and let qemu find the bus automatically)
2. We shouldn't be making command line simplicity drive how we
model devices inside QEMU. If we wanted to do that we should have
stuck with the old -net command line arguments which are rather
more userfriendly IMHO. If commandline confusion is getting to
be a problem with all the -device foo stuff then we should probably
fix that at the UI level.

-- PMM



reply via email to

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