qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Sebastian Herbszt <herbszt@gmx.de>
Cc: Markus Armbruster <armbru@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] ne2k_isa: how to specify a custom iobase and irq?
Date: Fri, 18 Dec 2009 14:56:17 -0600	[thread overview]
Message-ID: <4B2BEC71.80706@codemonkey.ws> (raw)
In-Reply-To: <FBF6C7E087524C74BE876E20040C8452@FSCPC>

Sebastian Herbszt wrote:
> Markus Armbruster wrote:
>> "Sebastian Herbszt" <herbszt@gmx.de> writes:
>>
>>> The default iobase and irq for the ne2k_isa card are 0x300 and 9.
>>> It should be possible to override both using the "-net" syntax like
>>> "-net nic,model=ne2k_isa,irq=5,iobase=0x280".
>>
>> -device ne2k_isa,irq=5,iobase=0x280
>
> Shouldn't this also be possible with the "-net" syntax? It does accept 
> "addr"
> which is pci specific.

addr= is a hack.  It predates qdev-ification.

-device is now the preferred way to do this sort of thing.

Regards,

Anthony Liguori

  reply	other threads:[~2009-12-18 20:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 21:29 [Qemu-devel] ne2k_isa: how to specify a custom iobase and irq? Sebastian Herbszt
2009-12-18  6:12 ` Markus Armbruster
2009-12-18  8:37   ` Gerd Hoffmann
2009-12-18 20:00     ` Sebastian Herbszt
2009-12-18 20:54       ` Anthony Liguori
2009-12-18 21:43         ` Sebastian Herbszt
2009-12-18 23:23           ` Anthony Liguori
2009-12-18 19:58   ` Sebastian Herbszt
2009-12-18 20:56     ` Anthony Liguori [this message]
2009-12-18 20:24   ` Sebastian Herbszt
2009-12-18 20:56     ` Anthony Liguori
2009-12-18 21:16       ` Sebastian Herbszt
2009-12-21 12:37         ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B2BEC71.80706@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=armbru@redhat.com \
    --cc=herbszt@gmx.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).