libqos virtio: Increase ISR timeout
Increase the clock step to avoid Travis failure in some builds due to overagressive timeout. Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com> Message-id: 1410428416-5046-1-git-send-email-marc.mari.barcelo@gmail.com Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
0dfa7e3012
commit
6cd14054b6
@ -82,7 +82,7 @@ bool qvirtio_wait_queue_isr(const QVirtioBus *bus, QVirtioDevice *d,
|
||||
QVirtQueue *vq, uint64_t timeout)
|
||||
{
|
||||
do {
|
||||
clock_step(10);
|
||||
clock_step(100);
|
||||
if (bus->get_queue_isr_status(d, vq)) {
|
||||
break; /* It has ended */
|
||||
}
|
||||
@ -95,7 +95,7 @@ bool qvirtio_wait_config_isr(const QVirtioBus *bus, QVirtioDevice *d,
|
||||
uint64_t timeout)
|
||||
{
|
||||
do {
|
||||
clock_step(10);
|
||||
clock_step(100);
|
||||
if (bus->get_config_isr_status(d)) {
|
||||
break; /* It has ended */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user