Skip to contentSkip to conversation

Problem: Keyboard dead after "-loadvm"

Qemu-devel Carsten Thorenz 6 participants 7 messages Jul 17, 2006

lore
Share & tools
lore
#0 lore raw

Hi there,

I've experienced problems after loading a vm.

It works fine if the vm is loaded via loadvm inside the monitor, but if I load the same vm from the shell with "qemu blah blah -loadvm my_vm", the keyboard is not working correctly.

Any hints?

Thanks,

Carsten

Signature · 2 lines
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
#1 lore raw

Hi,

Quoted 8 lines · Carsten Thorenz

I've experienced problems after loading a vm.

It works fine if the vm is loaded via loadvm inside the monitor, but if I load the same vm from the shell with "qemu blah blah -loadvm my_vm", the keyboard is not working correctly.

Any hints?

Try pressing&releasing Shift, Alt and Ctrl after loading. (Most likely, your saved vm has two of them recorded as pressed, since you switched to the monitor with that combination plus a number.)

Hth,
Dscho

P.S.: There were a couple of (almost identical) patches to help that, but they were probably never applied.

#2 lore raw

Von: Johannes Schindelin <[email protected]>

Quoted 1 line

Try pressing&releasing Shift, Alt and Ctrl after loading.

O.k., that solves it. But ...

Quoted 2 lines

P.S.: There were a couple of (almost identical) patches to help that, but they were probably never applied.

... somebody should take care for the patches :)

Thanks,

Carsten

Signature · 2 lines
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl
#3 lore raw
Quoted 5 lines · Carsten Thorenz

Von: Johannes Schindelin <[email protected]>

Quoted 1 line

Try pressing&releasing Shift, Alt and Ctrl after loading.

Quoted 7 lines

O.k., that solves it. But ...

Quoted 1 line

P.S.: There were a couple of (almost identical) patches to help that, but they were probably never applied.

... somebody should take care for the patches :)

Sometimes I try :-) But evaluating patches takes a large amount of time and in a program like QEMU regressions are difficult to track and very easy to introduce...

Fabrice.

#4 lore raw
Quoted 4 lines · Fabrice Bellard

Sometimes I try :-) But evaluating patches takes a large amount of time and in a program like QEMU regressions are difficult to track and very easy to introduce...

not all on this list do contribute patches (in my case, not much contribution at this level). But I believe we're tons of testers of incoming patches :)

you're not alone to test these patches: this is what I mean...

I remember the asynchronous/dma patch could be also a good candidate for insertion, if it could be updated...

Signature · 1 line
Christian
#5 lore raw
Quoted 6 lines · Christian MICHON
Quoted 5 lines · Fabrice Bellard

Sometimes I try :-) But evaluating patches takes a large amount of time and in a program like QEMU regressions are difficult to track and very easy to introduce...

Quoted 8 lines

not all on this list do contribute patches (in my case, not much contribution at this level). But I believe we're tons of testers of incoming patches :)

you're not alone to test these patches: this is what I mean...

I remember the asynchronous/dma patch could be also a good candidate for insertion, if it could be updated...

I actually think the last dma patch I saw was addressing the problem in the wrong way.

IIRC, it was using threads? We really ought to do the work to make the block API properly asynchronous. It may seem tedious now, but it would also allow the use of something like linux-aio down the road which has the potential to have a pretty huge performance impact on block performance (with pbrook's recent SCSI emulation).

Regards,

Anthony Liguori

#6 lore raw
Quoted 5 lines

IIRC, it was using threads? We really ought to do the work to make the block API properly asynchronous. It may seem tedious now, but it would also allow the use of something like linux-aio down the road which has the potential to have a pretty huge performance impact on block performance (with pbrook's recent SCSI emulation).

I'd expect most of the benefits would also apply to IDE (with DMA enabled, obviously).

I'd also expect that a well designed interface would be able to work with either threads or aio.

Paul