Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Gleb Natapov
On Sun, Jul 18, 2010 at 10:32:53PM +0200, Alexander Graf wrote: > > On 18.07.2010, at 22:09, Richard W.M. Jones wrote: > > > On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: > >> On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > >>> On Sat, Jul 17, 2010 at 10:50:59AM +0100, Rich

[Qemu-devel] Re: Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Gleb Natapov
On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: > I'm trying to speed up the process of loading kernel and initrd. > > I found that the main loop which loads these into qemu memory does it > via executing in the guest: > > rep insb (%dx),%es:(%edi) > > In other words, readi

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Gleb Natapov
On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: > > On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > > > On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: > >> I understand from the git logs that fw_cfg was added because the old > >> way was to load kernel &

[Qemu-devel] [PATCH] block migraton: check sectors before shift operation.

2010-07-18 Thread Yoshiaki Tamura
Commit d246673dcb9911218ff555bcdf28b250e38fa46c has expanded the types of block drive that can be initialized for block migration. Although bdrv_getlength() may return < 0, current code shifts it without checking. This makes block migration initialization invalid and results in abort() due to cal

Re: [Qemu-devel] [PATCH 2/2] fw_cfg: Add blit operation for copying kernel, initrd, ..

2010-07-18 Thread Aurelien Jarno
On Sat, Jul 17, 2010 at 02:41:04PM +0100, Richard W.M. Jones wrote: > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > virt-top is 'top' for virtual machines. Tiny program with many > powerful monitoring features, net stats, disk stats, logging, etc. > http:

[Qemu-devel] Qemu crashes with ASDM

2010-07-18 Thread capricorn 80
Hi! I am trying to run asa 802, asdm 602 with gns3. After long struggle i managed to fixed every thing. But now when i run asdm the Qemu crashes. The reference is on this post -> http://www.gns3.net/phpBB/topic2349.html Thanks for any kind of help. Regards,

Re: [Qemu-devel] [PATCH 2/2] fw_cfg: Add blit operation for copying kernel, initrd, ..

2010-07-18 Thread Alexander Graf
On 18.07.2010, at 23:12, Richard W.M. Jones wrote: > On Sun, Jul 18, 2010 at 10:47:27PM +0200, Alexander Graf wrote: >>> +if (blitaddr == 0) >>> +ret = 0; /* guest must set up a blit address beforehand */ >> >> Coding style. I'm also not sure this has to be special-cased. Why

Re: [Qemu-devel] [PATCH 2/2] fw_cfg: Add blit operation for copying kernel, initrd, ..

2010-07-18 Thread Richard W.M. Jones
On Sun, Jul 18, 2010 at 10:47:27PM +0200, Alexander Graf wrote: > > +if (blitaddr == 0) > > +ret = 0; /* guest must set up a blit address beforehand */ > > Coding style. I'm also not sure this has to be special-cased. Why care if the > guest wants to corrupt its own address sp

Re: [Qemu-devel] [PATCH 2/2] fw_cfg: Add blit operation for copying kernel, initrd, ..

2010-07-18 Thread Alexander Graf
On 17.07.2010, at 15:41, Richard W.M. Jones wrote: > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones > virt-top is 'top' for virtual machines. Tiny program with many > powerful monitoring features, net stats, disk stats, logging, etc. > http://et.redhat.com

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Alexander Graf
On 18.07.2010, at 22:09, Richard W.M. Jones wrote: > On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: >> On 17.07.2010, at 11:53, Richard W.M. Jones wrote: >>> On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: I understand from the git logs that fw_cfg was ad

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Richard W.M. Jones
On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: > On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > > On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: > >> I understand from the git logs that fw_cfg was added because the old > >> way was to load kernel & initrd

[Qemu-devel] [PATCH] block: Use error codes from lower levels for error message

2010-07-18 Thread Stefan Weil
"No such file or directory" is a misleading error message when a user tries to open a file with wrong permissions. Cc: Kevin Wolf Signed-off-by: Stefan Weil --- block.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/block.c b/block.c index f837876..2f80540 1

[Qemu-devel] Re: [BUG?] Problem when emulate mips target on mips host

2010-07-18 Thread Aurelien Jarno
On Sun, Jul 18, 2010 at 09:53:57AM +0800, chen huacai wrote: > Hmm, I know. But, why qemu only crashes on user-space code, not on kernel > code? Probably because a lot more code is executed in user-space than in kernel mode. I have actually tried the current git tree, and it is indeed not workin

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Alexander Graf
On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: >> I understand from the git logs that fw_cfg was added because the old >> way was to load kernel & initrd into RAM directly, but this didn't >> work because SeaBIOS would clea

Re: [Qemu-devel] [Bug 606658] [NEW] system_powerdown broken

2010-07-18 Thread Michael Tokarev
17.07.2010 17:33, Alexander wrote: Public bug reported: I discovered that system_powerdown does nothing. Debian, kvm, qemu version: 0.12.4 I can't reproduce this. Tried it when saw the initial message http://www.mail-archive.com/k...@vger.kernel.org/msg34412.html and tried now again - "no l

[Qemu-devel] [PATCH] Monitor: Convert do_sendkey() to QObject, QError

2010-07-18 Thread Michael Goldish
Signed-off-by: Michael Goldish --- monitor.c | 15 --- qemu-monitor.hx | 22 +- qerror.c| 12 qerror.h|9 + 4 files changed, 50 insertions(+), 8 deletions(-) diff --git a/monitor.c b/monitor.c index d5377de..082

[Qemu-devel] [Bug 606658] Re: system_powerdown broken

2010-07-18 Thread Alexander
Dude's explanation http://www.mail-archive.com/k...@vger.kernel.org/msg34639.html Just to be clear, the email with issue is not mine. I found it in google. This is just confirmation that I am not alone with this issue. My server is Debian testing. Guests are debian stable and Windows XP. -- sy

Re: [Qemu-devel] [Bug 606658] Re: system_powerdown broken

2010-07-18 Thread Avi Kivity
On 07/18/2010 01:25 PM, Alexander wrote: Yet another case http://www.mail- archive.com/k...@vger.kernel.org/msg34412.html ** Changed in: qemu Status: New => Confirmed What guest is this? -- error compiling committee.c: too many arguments to function

[Qemu-devel] [Bug 606658] Re: system_powerdown broken

2010-07-18 Thread Alexander
Yet another case http://www.mail- archive.com/k...@vger.kernel.org/msg34412.html ** Changed in: qemu Status: New => Confirmed -- system_powerdown broken https://bugs.launchpad.net/bugs/606658 You received this bug notification because you are a member of qemu- devel-ml, which is subscribe