All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Chris Wright <chrisw@sous-sol.org>
Cc: kvm-devel@lists.sourceforge.net, Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: [patch 0/2] pci_register_device can fail
Date: Tue, 22 Apr 2008 14:21:20 +0300	[thread overview]
Message-ID: <480DCA30.2020202@qumranet.com> (raw)
In-Reply-To: <20080421230247.814678086@sous-sol.org>

Chris Wright wrote:
> The pci hotadd patches make it easy to trigger segfaults when adding more
> devices than a single PCI bus can handle.  The following 2 patches fix the
> pci nic devices and virtio-blk device.  Now the following the following:
>
>   OK bus 0, slot 31, function 0 (devfn 248)
>   (qemu) pci_add 0 nic model=virtio
>   Segmentation fault
>
>   OK bus 0, slot 31, function 0 (devfn 248)
>   (qemu) pci_add 0 storage file=/mnt/disk1,if=virtio
>   Segmentation fault
>
> become:
>
>   OK bus 0, slot 31, function 0 (devfn 248)
>   (qemu) pci_add 0 nic model=virtio
>   qemu: Unable to initialze NIC: virtio
>   failed to add model=virtio
>
>   OK bus 0, slot 31, function 0 (devfn 248)
>   (qemu) pci_add 0 storage file=/mnt/disk1,if=virtio
>   failed to add file=/mnt/disk1,if=virtio
>   

Applied all three, thanks.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

      parent reply	other threads:[~2008-04-22 11:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21 23:02 [patch 0/2] pci_register_device can fail Chris Wright
2008-04-21 23:02 ` [patch 1/2] [PATCH] pci nic: " Chris Wright
2008-04-21 23:02 ` [patch 2/2] [PATCH] virtio-blk: virtio_pci_init " Chris Wright
2008-04-22  3:02   ` Marcelo Tosatti
2008-04-22  5:07     ` Chris Wright
2008-04-22  5:14     ` [patch 3/2] hotadd: lsi_scsi_init " Chris Wright
2008-04-22  6:02       ` Avi Kivity
2008-04-22 11:21 ` Avi Kivity [this message]

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=480DCA30.2020202@qumranet.com \
    --to=avi@qumranet.com \
    --cc=chrisw@sous-sol.org \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=mtosatti@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.