From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org, asias@redhat.com
Cc: Peter Maydell <peter.maydell@linaro.org>,
kvm@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>,
Jan Kiszka <jan.kiszka@siemens.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
Avi Kivity <avi@redhat.com>
Subject: [PATCH] kvm: do not flush after deleting gsi
Date: Wed, 12 Dec 2012 12:48:21 +0200 [thread overview]
Message-ID: <20121212104821.GA6324@redhat.com> (raw)
Deleting a GSI isn't necessary: it is enough
to stop using it. Delay flush until an entry is used.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
kvm-all.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index 3bc3347..fb3180d 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -991,8 +991,6 @@ void kvm_irqchip_release_virq(KVMState *s, int virq)
}
}
clear_gsi(s, virq);
-
- kvm_irqchip_commit_routes(s);
}
static unsigned int kvm_hash_msi(uint32_t data)
--
MST
next reply other threads:[~2012-12-12 10:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 10:48 Michael S. Tsirkin [this message]
2012-12-12 11:39 ` [PATCH] kvm: do not flush after deleting gsi Jan Kiszka
2012-12-13 4:55 ` Asias He
2012-12-13 15:34 ` Jan Kiszka
2012-12-14 1:00 ` Asias He
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=20121212104821.GA6324@redhat.com \
--to=mst@redhat.com \
--cc=asias@redhat.com \
--cc=avi@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=peter.maydell@linaro.org \
--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 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.