On 12/30/2009 04:00 AM, Anthony Liguori wrote:
On 12/24/2009 09:02 AM, Gleb Natapov wrote:
Knowing ioapic configuration is very useful for the poor soles
how need to debug guest occasionally.
Can this be implemented in terms of VMState?
That's a good idea, but it would mean that we'd need i
On Sun, Dec 27, 2009 at 5:38 PM, Dejun.Liu wrote:
> Hi,
>
> Im sure this is the right sdl lib.
>
> i used the openembedded(angstrom) build env to build qemu and libsdl.
Hm ok. Just to be sure, how about linking your qemu against your
native (x86) libsdl?
--
regards,
Mulyadi Santosa
Freelance L
Hi,
Im sure this is the right sdl lib.
i used the openembedded(angstrom) build env to build qemu and libsdl.
Cheers
Steven Liu
On Wed, 2009-12-30 at 09:32 +0700, Mulyadi Santosa wrote:
> Hi...
>
> On Sat, Dec 26, 2009 at 5:40 PM, Dejun.Liu wrote:
> >libSDL-1.2.so.0
> > =>
> > /home/
Hi...
On Sat, Dec 26, 2009 at 5:40 PM, Dejun.Liu wrote:
> libSDL-1.2.so.0
> =>
> /home/protocol/study/OE/angstrom-dev/staging/i686-linux/usr/lib/libSDL-1.2.so.0
> (0xb7e9f000)
this libsdl, are you sure this is the right library you need to link against?
--
regards,
Mulyadi Santosa
Fr
On 12/24/2009 09:02 AM, Gleb Natapov wrote:
Knowing ioapic configuration is very useful for the poor soles
how need to debug guest occasionally.
Can this be implemented in terms of VMState?
Regards,
Anthony Liguori
Hi,
below is my DISPLAY info:
echo ${DISPLAY}
:0.0
and i have already added localhost to xhost with the command:
xhost localhost
but the error continue the same.
r...@dejunliu-desktop:~# echo ${DISPLAY}
:0.0
r...@dejunliu-desktop:~# xhost localhost
localhost being added to access control list
r
Add generic support for debugging consoles (simple I/O ports which
when written to cause debugging output to be written to a target.)
The current implementation matches Bochs' port 0xe9, allowing the same
debugging code to be used for both Bochs and Qemu.
There is no vm state associated with the d
On 12/29/2009 01:39 PM, H. Peter Anvin wrote:
> 8 files changed, 187 insertions(+), 1 deletions(-)
Sorry everyone, re-sent an old version by mistake. Correctly updated
patch will follow.
-hpa
Hey there
This patch for linux-user adapts the output of the emulated uname()
syscall to match the configured CPU. Tested with x86, x86-64 and arm
emulation.
Thanks,
---
Makefile.target|2 +-
linux-user/cpu-uname.c | 72 +
From: H. Peter Anvin
Add generic support for debugging consoles (simple I/O ports which
when written to cause debugging output to be written to a target.)
The current implementation matches Bochs' port 0xe9, allowing the same
debugging code to be used for both Bochs and Qemu.
There is no vm stat
On Tue, 29 Dec 2009 19:25:24 +
Nathan Baum wrote:
> On Tue, 2009-12-29 at 15:15 -0200, Luiz Capitulino wrote:
> > On Sat, 26 Dec 2009 21:19:22 +
> > Nathan Baum wrote:
> >
> > > Signed-off-by: Nathan Baum
> > > ---
> > > hw/qdev.c |9 -
> > > hw/qdev.h |3 ++-
> > > mo
On Tue, Dec 29, 2009 at 04:09:17PM +0100, Stefan Weil wrote:
> Test environment:
>
> * ppc-softmmu/qemu-system-ppc running on x86_64 host
> * emulated ppc is running debian lenny
>
>
>
> While debugging on the emulated ppc (each time when
> a shared library is loaded after "r" command?),
> qemu
On Tue, 29 Dec 2009 20:49:53 +0200
Gleb Natapov wrote:
> On Tue, Dec 29, 2009 at 03:39:29PM -0200, Luiz Capitulino wrote:
> > On Tue, 29 Dec 2009 18:53:44 +0200
> > Gleb Natapov wrote:
> >
> > > On Tue, Dec 29, 2009 at 02:37:20PM -0200, Luiz Capitulino wrote:
> > > > On Thu, 24 Dec 2009 17:02:4
Am Dienstag, 29. Dezember 2009 14:07 schrieb Laurent Coustet:
> Hi,
>
> I just wrote a small python script that helps resizing a QCow2 image
> without rewriting it.
>
> I'm sure that's not the correct way to do it, but it seems to work well.
>
> Beware this script DO NOT SUPPORT SHRINKING !! It
On Tue, 29 Dec 2009, Jamie Lokier wrote:
> malc wrote:
> > On Mon, 28 Dec 2009, Jamie Lokier wrote:
> >
> > > Aurelien Jarno wrote:
> > > > This fixes the loading of a stripped kernel with zero malloc disabled.
> > >
> > > *Raises an eyebrow*
> > >
> > > Even though there's different perspectiv
On Tue, 29 Dec 2009 20:16:10 +0200
"Michael S. Tsirkin" wrote:
> On Tue, Dec 29, 2009 at 03:39:29PM -0200, Luiz Capitulino wrote:
> > On Tue, 29 Dec 2009 18:53:44 +0200
> > Gleb Natapov wrote:
> >
> > > On Tue, Dec 29, 2009 at 02:37:20PM -0200, Luiz Capitulino wrote:
> > > > On Thu, 24 Dec 2009
On Tue, Dec 29, 2009 at 08:12:57PM +0200, Michael S. Tsirkin wrote:
> On Tue, Dec 29, 2009 at 06:40:31PM +0100, Aurelien Jarno wrote:
> > On Tue, Dec 29, 2009 at 07:23:28PM +0200, Michael S. Tsirkin wrote:
> > > On Sun, Dec 27, 2009 at 05:01:38PM -0600, Anthony Liguori wrote:
> > > > Likewise, if y
On Tue, 2009-12-29 at 15:08 -0200, Luiz Capitulino wrote:
> > +class = pci_get_word(d->config + PCI_CLASS_DEVICE);
> > +desc = pci_class_descriptions;
> > +while (desc->desc && class != desc->class)
> > +desc++;
> > +if (desc->desc) {
> > +qdict_put(qobject_to_qdict
On Tue, 2009-12-29 at 15:13 -0200, Luiz Capitulino wrote:
> > +qdict_put(qdict, "gpio-in", qint_from_int(dev->num_gpio_in));
> > +qdict_put(qdict, "gpio-out", qint_from_int(dev->num_gpio_out));
>
> Is this a boolean? If so you should use qbool_from_int().
It isn't, but they shouldn't be
On Tue, 2009-12-29 at 15:15 -0200, Luiz Capitulino wrote:
> On Sat, 26 Dec 2009 21:19:22 +
> Nathan Baum wrote:
>
> > Signed-off-by: Nathan Baum
> > ---
> > hw/qdev.c |9 -
> > hw/qdev.h |3 ++-
> > monitor.c |3 ++-
> > 3 files changed, 12 insertions(+), 3 deletions(-)
On Tue, Dec 29, 2009 at 03:39:29PM -0200, Luiz Capitulino wrote:
> On Tue, 29 Dec 2009 18:53:44 +0200
> Gleb Natapov wrote:
>
> > On Tue, Dec 29, 2009 at 02:37:20PM -0200, Luiz Capitulino wrote:
> > > On Thu, 24 Dec 2009 17:02:42 +0200
> > > Gleb Natapov wrote:
> > >
> > > > +
> > > > +static c
On Tue, Dec 29, 2009 at 03:39:29PM -0200, Luiz Capitulino wrote:
> On Tue, 29 Dec 2009 18:53:44 +0200
> Gleb Natapov wrote:
>
> > On Tue, Dec 29, 2009 at 02:37:20PM -0200, Luiz Capitulino wrote:
> > > On Thu, 24 Dec 2009 17:02:42 +0200
> > > Gleb Natapov wrote:
> > >
> > > > +
> > > > +static c
On Tue, Dec 29, 2009 at 06:40:31PM +0100, Aurelien Jarno wrote:
> On Tue, Dec 29, 2009 at 07:23:28PM +0200, Michael S. Tsirkin wrote:
> > On Sun, Dec 27, 2009 at 05:01:38PM -0600, Anthony Liguori wrote:
> > > Likewise, if you see a patch go in that you think would have benefited
> > > from being
Blue Swirl schrieb:
> On Tue, Dec 29, 2009 at 3:09 PM, Stefan Weil wrote:
>
>> Test environment:
>>
>> * ppc-softmmu/qemu-system-ppc running on x86_64 host
>> * emulated ppc is running debian lenny
>>
>>
>>
>> While debugging on the emulated ppc (each time when
>> a shared library is loaded aft
On Tue, Dec 29, 2009 at 07:23:28PM +0200, Michael S. Tsirkin wrote:
> On Sun, Dec 27, 2009 at 05:01:38PM -0600, Anthony Liguori wrote:
> > Likewise, if you see a patch go in that you think would have benefited
> > from being on the list, point it out.
>
> How *would* I see it? I guess I could wr
On Tue, 29 Dec 2009 18:53:44 +0200
Gleb Natapov wrote:
> On Tue, Dec 29, 2009 at 02:37:20PM -0200, Luiz Capitulino wrote:
> > On Thu, 24 Dec 2009 17:02:42 +0200
> > Gleb Natapov wrote:
> >
> > > +
> > > +static const char *delivery_mode_string[] = {"fixed", "lowprio", "smi",
> > > "res",
> > >
On Sun, Dec 27, 2009 at 05:01:38PM -0600, Anthony Liguori wrote:
> Likewise, if you see a patch go in that you think would have benefited
> from being on the list, point it out.
How *would* I see it? I guess I could write scripts that correlated git
logs (or qemu commit list if it is ever resurr
On Tue, Dec 29, 2009 at 04:40:33PM +, Jamie Lokier wrote:
> Aurelien Jarno wrote:
> > On Tue, Dec 29, 2009 at 05:36:40PM +0200, Michael S. Tsirkin wrote:
> > > On Mon, Dec 28, 2009 at 09:20:20PM +0100, Aurelien Jarno wrote:
> > > > According to C99, realloc(non_null, 0) != free(non_null), that'
On Sat, 26 Dec 2009 21:19:22 +
Nathan Baum wrote:
> Signed-off-by: Nathan Baum
> ---
> hw/qdev.c |9 -
> hw/qdev.h |3 ++-
> monitor.c |3 ++-
> 3 files changed, 12 insertions(+), 3 deletions(-)
>
> diff --git a/hw/qdev.c b/hw/qdev.c
> index f5d68c6..d9d3778 100644
> --
On Sat, 26 Dec 2009 21:19:21 +
Nathan Baum wrote:
> Places information about a bus and the devices on into a QObject.
>
> Signed-off-by: Nathan Baum
> ---
> hw/qdev.c | 73
> +
> 1 files changed, 73 insertions(+), 0 deletions(-
On Sat, 26 Dec 2009 21:19:17 +
Nathan Baum wrote:
> Returns information about the system bus as a QObject.
>
> Signed-off-by: Nathan Baum
> ---
> hw/sysbus.c | 18 ++
> 1 files changed, 18 insertions(+), 0 deletions(-)
>
> diff --git a/hw/sysbus.c b/hw/sysbus.c
> index 1
On Sat, 26 Dec 2009 21:19:15 +
Nathan Baum wrote:
> +static QObject *pcibus_dev_info(Monitor *mon, DeviceState *dev)
> +{
> +PCIDevice *d = (PCIDevice *)dev;
> +const pci_class_desc *desc;
> +PCIIORegion *r;
> +int i, class;
> +QObject *retval;
> +QList *regions;
> +
On Sat, 26 Dec 2009 21:19:11 +
Nathan Baum wrote:
> Hullo.
>
> This series of patches partially converts info qtree to QMP.
Nice, I'm not familiar with qdev so I'll give some minor feedback
wrt QObjects.
Maybe Markus can review the qdev part.
On Tue, Dec 29, 2009 at 02:37:20PM -0200, Luiz Capitulino wrote:
> On Thu, 24 Dec 2009 17:02:42 +0200
> Gleb Natapov wrote:
>
> > +
> > +static const char *delivery_mode_string[] = {"fixed", "lowprio", "smi",
> > "res",
> > + "nmi", "init", "res",
> >
malc wrote:
> On Mon, 28 Dec 2009, Jamie Lokier wrote:
>
> > Aurelien Jarno wrote:
> > > This fixes the loading of a stripped kernel with zero malloc disabled.
> >
> > *Raises an eyebrow*
> >
> > Even though there's different perspectives over whether qemu_malloc(0)
> > should be allowed, inheri
Aurelien Jarno wrote:
> On Tue, Dec 29, 2009 at 05:36:40PM +0200, Michael S. Tsirkin wrote:
> > On Mon, Dec 28, 2009 at 09:20:20PM +0100, Aurelien Jarno wrote:
> > > According to C99, realloc(non_null, 0) != free(non_null), that's why
> > > it is forbidden in QEMU.
> > >
> > > When there are no sy
On Tue, Dec 29, 2009 at 05:26:50PM +0100, Aurelien Jarno wrote:
> On Tue, Dec 29, 2009 at 05:36:40PM +0200, Michael S. Tsirkin wrote:
> > On Mon, Dec 28, 2009 at 09:20:20PM +0100, Aurelien Jarno wrote:
> > > According to C99, realloc(non_null, 0) != free(non_null), that's why
> > > it is forbidden
On Thu, 24 Dec 2009 17:02:42 +0200
Gleb Natapov wrote:
> +
> +static const char *delivery_mode_string[] = {"fixed", "lowprio", "smi",
> "res",
> + "nmi", "init", "res", "extint"};
> +
> +void do_info_ioapic(Monitor *mon)
> +{
> +int i;
> +
> +i
On Tue, Dec 29, 2009 at 05:36:40PM +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 28, 2009 at 09:20:20PM +0100, Aurelien Jarno wrote:
> > According to C99, realloc(non_null, 0) != free(non_null), that's why
> > it is forbidden in QEMU.
> >
> > When there are no symbols, nsyms equals to 0. Free the
On Tuesday 29 December 2009 12:48:39 Luiz Capitulino wrote:
> On Tue, 29 Dec 2009 13:10:36 +0200 Avi Kivity wrote:
> > Hm, I get "The balloon device has not been activated by the guest" in
> > the qemu monitor.
>
> Is the "-balloon virtio" parameter passed on the command-line?
# grep balloon /us
On Tue, Dec 29, 2009 at 05:38:17PM +0200, Michael S. Tsirkin wrote:
> On Mon, Dec 28, 2009 at 04:49:00PM +0100, Aurelien Jarno wrote:
> > realloc(ptr, 0) is always allowed by the standard. The return value is
> > either NULL or a pointer that can be freed with free().
> >
> > Allow usage of qemu_r
Le 29/12/2009 16:32, Laurent Coustet a écrit :
Le 29/12/2009 14:07, Laurent Coustet a écrit :
use at your own risks !
Don't use it, I just forgot to move all datas if l1 needs more blocks..
On Mon, Dec 28, 2009 at 04:49:00PM +0100, Aurelien Jarno wrote:
> realloc(ptr, 0) is always allowed by the standard. The return value is
> either NULL or a pointer that can be freed with free().
>
> Allow usage of qemu_realloc(ptr, 0), and return NULL in that case, as
> free(NULL) should always be
On Mon, Dec 28, 2009 at 09:20:20PM +0100, Aurelien Jarno wrote:
> According to C99, realloc(non_null, 0) != free(non_null), that's why
> it is forbidden in QEMU.
>
> When there are no symbols, nsyms equals to 0. Free the syms structure
> and set it to NULL instead of reallocating it with a size of
Le 29/12/2009 14:07, Laurent Coustet a écrit :
Hi,
I just wrote a small python script that helps resizing a QCow2 image
without rewriting it.
I'm sure that's not the correct way to do it, but it seems to work well.
Beware this script DO NOT SUPPORT SHRINKING !! It do not check any error
case,
Hi,
When qemu-system-ppc is started with argument "-icount auto"
(needed for running qemu in the emulated system),
it will print lots of "Bad clock read" on stderr.
env->can_do_io toggles between 0 and 1.
A similar problem was reported some time ago:
http://lists.nongnu.org/archive/html/qemu-dev
On Tue, Dec 29, 2009 at 3:09 PM, Stefan Weil wrote:
> Test environment:
>
> * ppc-softmmu/qemu-system-ppc running on x86_64 host
> * emulated ppc is running debian lenny
>
>
>
> While debugging on the emulated ppc (each time when
> a shared library is loaded after "r" command?),
> qemu-system-ppc
Test environment:
* ppc-softmmu/qemu-system-ppc running on x86_64 host
* emulated ppc is running debian lenny
While debugging on the emulated ppc (each time when
a shared library is loaded after "r" command?),
qemu-system-ppc prints this error message:
invalid/unsupported opcode: 00 - 00 - 00
Am 28.12.2009 um 08:54 schrieb MICHIMURA Tadao >:
Hi,
Thank you for your response.
(2009/12/26 4:51), Andreas Färber wrote:
..snip
/usr/local/bin/qemu-system-ppc -m 1024 -hdc fc6-ppc-1.img -boot c
Have you tried -hda fc6-ppc-1.img -boot c? -hdc (secondary master) is
> probably less tested
On 12/29/2009 03:39 PM, Luca Tettamanti wrote:
Ugh, I hope you're wrong ;-) AFAICS remapping will lead only to
headaches... Linux does not have any problem with aligned partitions.
And in fact, that was the motivation for this patch, as parted will
align based on the physical block size.
On Tue, Dec 29, 2009 at 2:21 PM, Jamie Lokier wrote:
> Avi Kivity wrote:
>> Guests use this number as a hint for alignment and I/O request sizes.
>
> It's not just a hint. It is also the "radius of corruption on failed
> write" - important for journalling filesystems and databases.
>
>> Given
>>
Avi Kivity wrote:
> Due to upstream qemu changes we no longer expose the host cpu vendor id
> to the guest. This leads to failures when the syscall/sysenter instructions
> are used in compatibility mode.
>
> Change the default to override when kvm is enabled.
This is a good change, although it a
Avi Kivity wrote:
> Guests use this number as a hint for alignment and I/O request sizes.
It's not just a hint. It is also the "radius of corruption on failed
write" - important for journalling filesystems and databases.
> Given
> that modern disks have 4K block sizes,
Do they, yet?
> and cach
Hi,
I just wrote a small python script that helps resizing a QCow2 image
without rewriting it.
I'm sure that's not the correct way to do it, but it seems to work well.
Beware this script DO NOT SUPPORT SHRINKING !! It do not check any error
case, so; use at your own risks !
--
Laurent Cou
On Tue, 29 Dec 2009 13:08:26 +0100
Thomas Treutner wrote:
> On Tuesday 29 December 2009 12:48:39 Luiz Capitulino wrote:
> > On Tue, 29 Dec 2009 13:10:36 +0200 Avi Kivity wrote:
> > > Hm, I get "The balloon device has not been activated by the guest" in
> > > the qemu monitor.
> >
> > Is the "-b
On Tue, 22 Dec 2009 08:50:30 +0100
Markus Armbruster wrote:
> Luiz Capitulino writes:
>
> > Some commands return a QList of QDicts, which is valid,
> > but will trig the assert().
> >
> > Just drop it.
> >
> > Reported-by: Nathan Baum
> > Signed-off-by: Luiz Capitulino
> > ---
> > monitor.c
On 12/29/2009 01:48 PM, Luiz Capitulino wrote:
Hm, I get "The balloon device has not been activated by the guest" in
the qemu monitor.
Is the "-balloon virtio" parameter passed on the command-line?
With this parameter, everything works.
--
error compiling committee.c: too many a
2009/12/29 Paolo Bonzini :
> On 12/29/2009 08:50 AM, Chip Panarchy wrote:
>>
>> Hi
>>
>> Unfortunately QEMU doesn't work for me because it uses absolute paths
>> instead of environmental variables.
>>
>> Proof;
>> http://i46.tinypic.com/11tbz1l.jpg
>
> Besides the absolute path, there is also a pro
On Tue, 29 Dec 2009 13:10:36 +0200
Avi Kivity wrote:
> On 12/29/2009 12:54 PM, Thomas Treutner wrote:
> > On Tuesday 29 December 2009 11:36:03 Avi Kivity wrote:
> >
> >> On 12/29/2009 12:33 PM, Thomas Treutner wrote:
> >>
> >>> ...and made the next bug visible - I can't set the assigned
On 12/29/2009 08:50 AM, Chip Panarchy wrote:
Hi
Unfortunately QEMU doesn't work for me because it uses absolute paths
instead of environmental variables.
Proof;
http://i46.tinypic.com/11tbz1l.jpg
Besides the absolute path, there is also a problem in that it points to
"program files\Qemu" rat
On 12/29/2009 12:54 PM, Thomas Treutner wrote:
On Tuesday 29 December 2009 11:36:03 Avi Kivity wrote:
On 12/29/2009 12:33 PM, Thomas Treutner wrote:
...and made the next bug visible - I can't set the assigned memory by
$ virsh setmem domain kbyte
With -0.11, it works flawlessly. I t
No, I mean DISPLAY.
On Sat, Dec 26, 2009 at 02:44:05PM -0300, Dejun.Liu wrote:
> Hi,
>
> do u mean:
> export SDL_VIDEODRIVER=x11
> ?
> i hava set sdl video driver to x11.
>
> Steven Liu
>
> On Tue, 2009-12-29 at 12:04 +0200, Michael S. Tsirkin wrote:
> > Most likely DISPLAY not set.
> >
> > O
Hi,
do u mean:
export SDL_VIDEODRIVER=x11
?
i hava set sdl video driver to x11.
Steven Liu
On Tue, 2009-12-29 at 12:04 +0200, Michael S. Tsirkin wrote:
> Most likely DISPLAY not set.
>
> On Sat, Dec 26, 2009 at 07:40:01AM -0300, Dejun.Liu wrote:
> > Hi,
> >
> > Im a newbie to qemu use.
> > s
Guests use this number as a hint for alignment and I/O request sizes. Given
that modern disks have 4K block sizes, and cached file-backed images also
have 4K block sizes, this hint can improve guest performance.
We probably need to make this configurable depending on machine type. It
should be t
Most likely DISPLAY not set.
On Sat, Dec 26, 2009 at 07:40:01AM -0300, Dejun.Liu wrote:
> Hi,
>
> Im a newbie to qemu use.
> so i got a lot error!..
>
> I build qemu from source with the version 0.10.3,
>
> But when i start qemu with the command below, i got the message
> Could not in
Chip Panarchy schrieb:
> Hi
>
> Unfortunately QEMU doesn't work for me because it uses absolute paths
> instead of environmental variables.
>
> Proof;
> http://i46.tinypic.com/11tbz1l.jpg
>
> The environmental variable which should be used is %ProgramFiles%
>
> Please correct this programmatically.
66 matches
Mail list logo