If the machine is stopped and 'info balloon' is invoked, instead of
querying the guest and waiting for a timeout, just display the most
recent stats available in this case and log an error report.
See https://bugzilla.redhat.com/show_bug.cgi?id=623903
Reported-by:
Signed-off-by: Amit Shah
---
This error message denotes some command was not successful in completing
as the guest was unresponsive.
Use it in the virtio-balloon code when showing older, cached data.
Signed-off-by: Amit Shah
---
hw/virtio-balloon.c |1 +
qerror.c|4
qerror.h|3 +++
If the guest is unresponsive and 'info balloon' is invoked, the monitor
process just hangs waiting for info from the guest. Return the most
recent balloon data in that case.
A new timer is added, which on expiry, just presents the old data to the
monitor callback functions.
See https://bugzilla.r
Since I didn't get negative reactions to the patch I posted yesterday,
here's the complete series. It adds a qerror message that mentions the
machine is stopped or the guest is slow to respond, so the stats
should be assumed to be old.
The error report is sent out before the stats, I don't think w
I added CC for those who might be interested in this discussion.
On Thu, Aug 26, 2010 at 08:02:38AM -0500, Anthony Liguori wrote:
> On 08/26/2010 03:38 AM, Isaku Yamahata wrote:
>>
>>> I think that starts by understanding exactly what's guaranteed and
>>> understanding what the use cases are for i
Hi, all
I want to setup a mips development environment for Freebsd. The gxemul is so
slow and no networking support. I want to transfer to qemu, unfortunately
qemu can't load the freebsd kernel, and there is no mips bios bin file. Is
there any plan to support the mips bios? It is appreciated if so
On 08/25/2010 04:28 PM, Anthony Liguori wrote:
On 08/25/2010 06:09 PM, walt wrote:
On 08/25/2010 12:48 PM, Anthony Liguori wrote:
On 08/25/2010 02:37 PM, walt wrote:
I find that qemu-kvm boots to the Win7 login prompt in 25 seconds,
while qemu with kvm enabled takes about 45 seconds.
Also
On 08/26/2010 04:44 PM, malc wrote:
and lastly there is no errx[1]
[..snip..]
[1] err(3):
CONFORMING TO
These functions are non-standard BSD extensions.
err() and errx() are already used somewhere. But these should be
converted to error_report etc., like other printf b
On Thu, 26 Aug 2010, Blue Swirl wrote:
> On Wed, Aug 25, 2010 at 8:46 PM, malc wrote:
> > On Wed, 25 Aug 2010, Blue Swirl wrote:
> >
> >> On Wed, Aug 25, 2010 at 4:33 PM, Andreas Niederl
> >> wrote:
> >> > This implementation is based on the TPM 1.2 interface for virtualized TPM
> >> > devices f
On 08/26/2010 01:37 PM, Blue Swirl wrote:
1/5 and 2/5 updated according to review.
I removed the contentious bool paragraph from 2/5, it can be added later.
Blue Swirl (5):
HACKING: add preprocessor rules
HACKING: add C type rules
HACKING: add memory management rules
HACKING: add st
On Thu, 26 Aug 2010, Blue Swirl wrote:
> Add C type rules, adapted from libvirt HACKING. Also include
> a description of special QEMU scalar types.
>
> Move typedef rule from CODING_STYLE rule 3 to HACKING rule 6
> where it belongs.
>
> Signed-off-by: Blue Swirl
> ---
> CODING_STYLE |3 --
On 08/26/2010 11:41 AM, Hollis Blanchard wrote:
On 08/26/2010 08:48 AM, Anthony Liguori wrote:
On 08/26/2010 10:21 AM, Gleb Natapov wrote:
You forgot about developers. Developer may want to use latest kvm
kernel
headers to compile code that he added to qemu to use new kernel
feature.
The Rig
Hi there!
First I'd like to say that QEMU plaform is really cool and awesome.
I'm an engineering student and is searching for a feasible project in
virtualization. I'd like to know if its possible to share USB devices (flash
drive, hard disk, mouse, keyboards etc) across guests and host (VMs). Al
Add string management rules, somewhat like libvirt HACKING.
Signed-off-by: Blue Swirl
---
HACKING | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/HACKING b/HACKING
index 554009e..a3d714f 100644
--- a/HACKING
+++ b/HACKING
@@ -83,3 +83,27 @@ qemu_v
Add memory management rules, somewhat like libvirt HACKING.
Signed-off-by: Blue Swirl
---
HACKING | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/HACKING b/HACKING
index 19fc874..554009e 100644
--- a/HACKING
+++ b/HACKING
@@ -72,3 +72,14 @@ Typedefs are used t
Add C type rules, adapted from libvirt HACKING. Also include
a description of special QEMU scalar types.
Move typedef rule from CODING_STYLE rule 3 to HACKING rule 6
where it belongs.
Signed-off-by: Blue Swirl
---
CODING_STYLE |3 --
HACKING | 68 +
Add rules for printf-like functions, based on libvirt HACKING.
Signed-off-by: Blue Swirl
---
HACKING | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/HACKING b/HACKING
index a3d714f..5beb765 100644
--- a/HACKING
+++ b/HACKING
@@ -107,3 +107,16 @@ so instead o
Add a new file, HACKING, in order to collect recurring
issues with submitted patches.
Start with preprocessor rules, adapted from libvirt HACKING.
Signed-off-by: Blue Swirl
---
HACKING |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 HACKING
diff --git a/HACK
1/5 and 2/5 updated according to review.
I removed the contentious bool paragraph from 2/5, it can be added later.
Blue Swirl (5):
HACKING: add preprocessor rules
HACKING: add C type rules
HACKING: add memory management rules
HACKING: add string management rules
HACKING: add rules for p
Hi there. I should have sent a lot of these with my note yesterday but I was in
a hurry to get the files to you first.
See my comments below and thanks again.
AK
pcie_msix_write_config() should call pci_default_write_config()
unless you did it so intentionally.I've made this change. Than
On Thu, Aug 26, 2010 at 1:23 PM, Edgar E. Iglesias
wrote:
> On Sat, Aug 21, 2010 at 09:42:51AM +, Blue Swirl wrote:
>> Combining bitwise AND and logical NOT is suspicious.
>>
>> Fixed by this Coccinelle script:
>> // From http://article.gmane.org/gmane.linux.kernel/646367
>> @@ expression E1,E
Thanks, pulled.
When you update OpenBIOS images, please remember to update the README also.
On Thu, Aug 26, 2010 at 4:29 PM, Alexander Graf wrote:
> The following changes since commit 2446333cd5b5c985f6517dee7004e542ecacd21c:
> Blue Swirl (1):
> Rearrange block headers
>
> are available
On Thu, Aug 26, 2010 at 2:29 PM, Avi Kivity wrote:
> On 08/26/2010 04:25 PM, Anthony Liguori wrote:
>>
>> On 08/26/2010 08:15 AM, Avi Kivity wrote:
>>>
>>> On 08/25/2010 03:55 PM, Anthony Liguori wrote:
> Maybe we can merge the patches.
> As for your patch, I have some comment.
On Wed, Aug 25, 2010 at 8:46 PM, malc wrote:
> On Wed, 25 Aug 2010, Blue Swirl wrote:
>
>> On Wed, Aug 25, 2010 at 4:33 PM, Andreas Niederl
>> wrote:
>> > This implementation is based on the TPM 1.2 interface for virtualized TPM
>> > devices from the Xen-4.0.0 ioemu-qemu-xen fork.
>> >
>> > A sep
Bruno Cesar Ribas wrote:
> Hi,
>
> Every time I try to rsync something to my 9p fs mounted I get the following
> message on guest kernel:
>
> 8<
> [ 45.866789] 9pnet_virtio virtio2: requests:id 0 is not a head!
> 8<
>
> I'm "sending" the FS with the foll
On 08/26/2010 08:48 AM, Anthony Liguori wrote:
On 08/26/2010 10:21 AM, Gleb Natapov wrote:
You forgot about developers. Developer may want to use latest kvm kernel
headers to compile code that he added to qemu to use new kernel feature.
The Right Way to do this is a make headers_install to a t
From: Hollis Blanchard
We must be able to use a non-native strip executable, but not all
versions of 'install' support the --strip-program option (e.g.
OpenBSD). Accordingly, we can't use 'install -s', and we must run strip
separately.
Signed-off-by: Hollis Blanchard
Cc: blauwir...@gmail.com
--
On KVM for PPC we need to tell the guest which instructions to use when
doing a hypercall. The clean way to do this is to go through an ioctl
from userspace and passing it on to the guest using the device tree.
So let's do the qemu part here: read out the hypercall and pass it on
to the guest's fw
From: Hollis Blanchard
We can't use the return value of load_uimage() for the kernel because it
can't account for BSS size, and the PowerPC kernel does not relocate
blobs before zeroing BSS.
Instead, we now load at the fixed addresses chosen by u-boot (the normal
firmware for the board).
Signed
This updates the openBIOS binary to r589, adding support for PPC PV feature
pass-through in KVM.
Signed-off-by: Alexander Graf
---
pc-bios/openbios-ppc | Bin 320324 -> 320328 bytes
1 files changed, 0 insertions(+), 0 deletions(-)
[...] leaving out all the binary crap - do a pull if you need i
From: Hollis Blanchard
The message "Truncating memory to %d MiB to fit SDRAM controller limits"
should be displayed only when a user chooses an amount of RAM which
can't be represented by the PPC 4xx SDRAM controller (e.g. 129MB, which
would only be valid if the controller supports a bank size of
The following changes since commit 2446333cd5b5c985f6517dee7004e542ecacd21c:
Blue Swirl (1):
Rearrange block headers
are available in the git repository at:
git://repo.or.cz/qemu/agraf.git ppc-next
Alexander Graf (2):
PPC: Add PV hypercall transport through fw_cfg
PPC: Update ope
From: Hollis Blanchard
The PowerPC 4xx SDRAM controller emulation unregisters RAM in its reset
callback. However, qemu_system_reset() is now called at initialization
time, so all RAM is unregistered before starting the guest (!).
Signed-off-by: Hollis Blanchard
---
hw/ppc4xx_devs.c |1 -
1
On Thursday 26 August 2010, Gleb Natapov wrote:
> You forgot about developers. Developer may want to use latest kvm kernel
> headers to compile code that he added to qemu to use new kernel feature.
In that case, you already need to install the kernel in order to test
it, so you might as well insta
On 08/26/2010 10:21 AM, Gleb Natapov wrote:
You forgot about developers. Developer may want to use latest kvm kernel
headers to compile code that he added to qemu to use new kernel feature.
The Right Way to do this is a make headers_install to a temporary
directory and then -I include that
On Thu, Aug 26, 2010 at 05:15:35PM +0200, Arnd Bergmann wrote:
> On Wednesday 25 August 2010, Hollis Blanchard wrote:
> > > We only recently fixed the kernel to have this warning in types.h, which
> > > triggers more often than kernel.h, where it used to be before. In 2.6.35
> > > and before, you c
On Wednesday 25 August 2010, Hollis Blanchard wrote:
> > We only recently fixed the kernel to have this warning in types.h, which
> > triggers more often than kernel.h, where it used to be before. In 2.6.35
> > and before, you consequently would not have noticed the problem.
> >
>
> Thanks Arn
On 08/26/2010 04:25 PM, Anthony Liguori wrote:
On 08/26/2010 08:15 AM, Avi Kivity wrote:
On 08/25/2010 03:55 PM, Anthony Liguori wrote:
Maybe we can merge the patches.
As for your patch, I have some comment.
- bus itself may want its own handler. At lease pci bus needs it.
And propagatin
Am 25.08.2010 22:48, schrieb Laurent Vivier:
> This patch allows to connect Qemu using NBD protocol to an nbd-server
> using named exports.
>
> For instance, if on the host "isoserver", in /etc/nbd-server/config, you have:
>
> [generic]
> [debian-500-ppc-netinst]
> exportname = /ISO/debia
On Sat, Aug 21, 2010 at 09:42:51AM +, Blue Swirl wrote:
> Combining bitwise AND and logical NOT is suspicious.
>
> Fixed by this Coccinelle script:
> // From http://article.gmane.org/gmane.linux.kernel/646367
> @@ expression E1,E2; @@
> (
> !E1 & !E2
> |
> - !E1 & E2
> + !(E1 & E2)
> )
>
>
On 08/26/2010 02:57 PM, Luiz Capitulino wrote:
I really don't know what to do 0.13. Probably the hard-coded timer is
the best solution we have, but I'm wondering if it's going to cause
problems in the near future, when we get proper asynchronous command
support.
Just make it a different command
On 08/26/2010 08:15 AM, Avi Kivity wrote:
On 08/25/2010 03:55 PM, Anthony Liguori wrote:
Maybe we can merge the patches.
As for your patch, I have some comment.
- bus itself may want its own handler. At lease pci bus needs it.
And propagating reset signal to children is up to the bus
cont
On 08/25/2010 03:55 PM, Anthony Liguori wrote:
Maybe we can merge the patches.
As for your patch, I have some comment.
- bus itself may want its own handler. At lease pci bus needs it.
And propagating reset signal to children is up to the bus controller.
I disagree. Reset should be equiv
On Mon, 9 Aug 2010 14:00:54 -0300
Miguel Di Ciurcio Filho wrote:
> This series changes how QMP exports the version of QEMU to clients.
>
> Current behavior:
> {"QMP": {"version": {"qemu": "0.13.50", "package": ""}, "capabilities": []}}
>
> New behavior:
> {"QMP": {"version": {"qemu": {"micro":
On 08/26/2010 03:14 AM, Daniel P. Berrange wrote:
On Thu, Aug 26, 2010 at 10:05:44AM +0200, Paolo Bonzini wrote:
On 08/26/2010 08:05 AM, Amit Shah wrote:
This is what I have currently. It would need some timer handling in
the save/load case as well, right?
When loading you wo
On 08/26/2010 03:38 AM, Isaku Yamahata wrote:
QEMU_RESET_COLD
BTW, just from a implementation perspective, I'd rather have multiple
reset callbacks in qdev instead of having a single callback with a type
flag. A type flag implies that every callback has to handle all cases
wher
On 08/26/2010 03:38 AM, Isaku Yamahata wrote:
I think that starts by understanding exactly what's guaranteed and
understanding what the use cases are for it.
Fair enough. How about the followings?
Thanks for enumerating.
This is just a starting point. I borrowed terminology pci/p
On Thu, 26 Aug 2010 09:28:42 +0100
"Daniel P. Berrange" wrote:
> On Thu, Aug 26, 2010 at 01:47:50PM +0530, Amit Shah wrote:
> > On (Thu) Aug 26 2010 [10:05:44], Paolo Bonzini wrote:
> > > On 08/26/2010 08:05 AM, Amit Shah wrote:
> > > >This is what I have currently. It would need some timer handl
On Thu, Aug 26, 2010 at 07:54:26AM -0500, Anthony Liguori wrote:
> On 08/26/2010 02:59 AM, Gleb Natapov wrote:
> >On Thu, Aug 26, 2010 at 09:53:27AM +0200, Gerd Hoffmann wrote:
> >> Hi,
> >>
> >>>Also try qemu-kvm with -no-kvm-irqchip. I can't believe an in-kernel
> >>>lapic would make this much
On 08/26/2010 01:55 AM, Gerd Hoffmann wrote:
Hi,
+
+ qemu_spice_input_init();
Why not pass spice_server to qemu_spice_input_init() and avoid the
global?
We need the global anyway for the guest devices (not yet in this
series). They are created using -device. Thus the initialization
On 08/26/2010 02:59 AM, Gleb Natapov wrote:
On Thu, Aug 26, 2010 at 09:53:27AM +0200, Gerd Hoffmann wrote:
Hi,
Also try qemu-kvm with -no-kvm-irqchip. I can't believe an in-kernel
lapic would make this much of a difference with windows 7 but it's worth
trying.
Didn't try
I just tried this again with the latest git master and it worked fine.
Excellent.
--
qemu-system-ppc segfaults when booting from Debian lenny netinst image
https://bugs.launchpad.net/bugs/534973
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to
On 08/26/2010 01:25 PM, Gleb Natapov wrote:
Isn't that only required on SVM?
No, old vmx too.
'flexpriority' in /proc/cpuinfo means tpr patching is unnecessary.
But to use flexpriority you need in-kernel irqchip, so qemu.git will be
slow even if you have it.
--
error compiling committ
cc39a92cbfc8 fixed a SIGFPE where the screen is resized to width/hight 1 and
then receives a mouse click. However, there is a still a tiny window here for
a race between the test for width/height > 1 and the division.
Signed-off-by: Chris Webb
---
Sending this as I've just seen a SIGFPE from one
On Thu, Aug 26, 2010 at 12:24:11PM +0200, Alexander Graf wrote:
>
> On 26.08.2010, at 11:59, Gerd Hoffmann wrote:
>
> > On 08/26/10 09:59, Gleb Natapov wrote:
> >> On Thu, Aug 26, 2010 at 09:53:27AM +0200, Gerd Hoffmann wrote:
> >>> Hi,
> >>>
> Also try qemu-kvm with -no-kvm-irqchip. I ca
On 26.08.2010, at 11:59, Gerd Hoffmann wrote:
> On 08/26/10 09:59, Gleb Natapov wrote:
>> On Thu, Aug 26, 2010 at 09:53:27AM +0200, Gerd Hoffmann wrote:
>>> Hi,
>>>
Also try qemu-kvm with -no-kvm-irqchip. I can't believe an in-kernel
lapic would make this much of a difference with wi
>On 08/25/2010 03:48 PM, Laurent Vivier wrote:
>> This patch allows to connect Qemu using NBD protocol to an nbd-server
>> using named exports.
>>
>
>Does using a named export make the NBD protocol incompatible with a
>server that doesn't support named exports? IOW, it's essentially a new
>p
On 08/26/10 09:59, Gleb Natapov wrote:
On Thu, Aug 26, 2010 at 09:53:27AM +0200, Gerd Hoffmann wrote:
Hi,
Also try qemu-kvm with -no-kvm-irqchip. I can't believe an in-kernel
lapic would make this much of a difference with windows 7 but it's worth
trying.
Didn't try win7, but for winxp it
On Wed, Aug 25, 2010 at 05:39:50PM -0500, Adnan Khaleel wrote:
> Hi Isaku,
>
> I've made some progress in coding the device template but its no where near
> complete.
>
> I've created some files and am attaching it to this note. Based on what I
> could
> gather from the pcie source files I've ma
On Thu, Aug 26, 2010 at 10:05 AM, chandra shekar
wrote:
> stefan sorry for bothering you but iam new to qemu i did the above steps
> and after 2nd step i got into gdb and i used "r" command to run, it gave
> qemu: could not open disk image [...]: No such file or directory
> so in place of [..] i h
Greetings,
If I turn on the hardware virtualization in BIOS and then run qemu the
host machine will freeze giving no details on what might cause the
freeze. I did try the -no-kvm & -no-kvm-irqchip qemu will work and there
will be no freeze.
As you can see from the info below, CPU is Intel's E6600
On Thu, Aug 26, 2010 at 01:47:50PM +0530, Amit Shah wrote:
> On (Thu) Aug 26 2010 [10:05:44], Paolo Bonzini wrote:
> > On 08/26/2010 08:05 AM, Amit Shah wrote:
> > >This is what I have currently. It would need some timer handling in
> > >the save/load case as well, right?
> >
> > When loading you
On Wed, Aug 25, 2010 at 11:49:19AM -0500, Anthony Liguori wrote:
> On 08/25/2010 10:17 AM, Isaku Yamahata wrote:
>> On Wed, Aug 25, 2010 at 07:55:27AM -0500, Anthony Liguori wrote:
>>
Maybe we can merge the patches.
As for your patch, I have some comment.
- bus itself may want it
On (Thu) Aug 26 2010 [10:05:44], Paolo Bonzini wrote:
> On 08/26/2010 08:05 AM, Amit Shah wrote:
> >This is what I have currently. It would need some timer handling in
> >the save/load case as well, right?
>
> When loading you won't have any pending "info balloon" command, so I
> think the timer n
On 08/26/2010 10:17 AM, Amit Shah wrote:
>
> Also, 5 seconds for a stopped guest is actually a lot,
That's the problem; it's policy. Where and how to specify it?
For a crashed/oopsed guest even 10 seconds may be okay, as long as it's
0 for a stopped guest. We need both patches.
Paolo
On Thu, Aug 26, 2010 at 7:03 AM, chandra shekar
wrote:
> i need to run qemu in gdb,thanks
Try:
$ ./configure --disable-strip
$ gdb --args x86_64-softmmu/qemu-system-x86_64 [...]
The --disable-strip configure option causes an ELF executable with
debug information to be produced.
Stefan
On Thu, Aug 26, 2010 at 10:05:44AM +0200, Paolo Bonzini wrote:
> On 08/26/2010 08:05 AM, Amit Shah wrote:
> >This is what I have currently. It would need some timer handling in
> >the save/load case as well, right?
>
> When loading you won't have any pending "info balloon" command, so I
> think t
On 08/26/2010 08:05 AM, Amit Shah wrote:
This is what I have currently. It would need some timer handling in
the save/load case as well, right?
When loading you won't have any pending "info balloon" command, so I
think the timer need not be preserved across migration.
Also, 5 seconds for a s
On Thu, Aug 26, 2010 at 09:53:27AM +0200, Gerd Hoffmann wrote:
> Hi,
>
> >Also try qemu-kvm with -no-kvm-irqchip. I can't believe an in-kernel
> >lapic would make this much of a difference with windows 7 but it's worth
> >trying.
>
> Didn't try win7, but for winxp it is a *huge* difference.
>
Hi,
Also try qemu-kvm with -no-kvm-irqchip. I can't believe an in-kernel
lapic would make this much of a difference with windows 7 but it's worth
trying.
Didn't try win7, but for winxp it is a *huge* difference.
cheers,
Gerd
70 matches
Mail list logo