Re: [Qemu-devel] [PATCH] guest-agent: fix build with OpenBSD

2011-07-23 Thread Blue Swirl
On Fri, Jul 22, 2011 at 10:15 PM, Anthony Liguori aligu...@us.ibm.com wrote: FS-Freeze only works with Linux. Signed-off-by: Anthony Liguori aligu...@us.ibm.com ACK except for the unrelated stuff. It's strange how the messages arrive several hours out of order. ---  Makefile                

[Qemu-devel] [Bug 524447] Re: virsh save is very slow

2011-07-23 Thread Clint Byrum
Jeff thanks for the testing! I'll take that as verification.. marking verification-done. It just needs to wait 7 days to clear -proposed in case it causes any unintended regressions. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification

Re: [Qemu-devel] [PATCH] xen: fix xen-mapcache build on non-Xen capable targets

2011-07-23 Thread Blue Swirl
On Sat, Jul 23, 2011 at 3:07 AM, Alexander Graf ag...@suse.de wrote: Great. Thanks. Instead of just pulling my xen-next tree which had an outstanding pull request for days now you apply Avi's patch which obviously conflicts with my current queue, so I have to rebase it again. Your patch

Re: [Qemu-devel] [PATCH] xen: fix xen-mapcache build on non-Xen capable targets

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 08:57, Blue Swirl wrote: On Sat, Jul 23, 2011 at 3:07 AM, Alexander Graf ag...@suse.de wrote: Great. Thanks. Instead of just pulling my xen-next tree which had an outstanding pull request for days now you apply Avi's patch which obviously conflicts with my current queue,

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Alexander Graf
On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests over a virtio-serial/isa-serial/unix socket channel and routes them through to dispatch routines, and writes the results back to the channel in a manner similar to QMP. A shorthand

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 12:07, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests over a virtio-serial/isa-serial/unix socket channel and routes them through to dispatch routines, and writes the results back to the

[Qemu-devel] [RESEND][PATCH v3] Generalize -machine command line option

2011-07-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com -machine somehow suggests that it selects the machine, but it doesn't. Fix that before this command is set in stone. Actually, -machine should supersede -M and allow to introduce arbitrary per-machine options to the command line. That will change the

[Qemu-devel] [RESEND][PATCH 2/2] Deprecate -M command line options

2011-07-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com Superseded by -machine. Therefore, this patch removes -M from the help list and pushes -machine at the same place in the output. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- qemu-options.hx | 45 - 1

[Qemu-devel] [PATCH v2] Replace qemu_system_cond with VCPU stop mechanism

2011-07-23 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com We can express the VCPU thread wakeup with the stop mechanism, saving both qemu_system_ready and the qemu_system_cond. For KVM threads, we can just enter the main loop as long as the thread is stopped. The central TCG thread is better held back before the

[Qemu-devel] [PATCH 02/28] PPC: Add CPU local MMIO regions to MPIC

2011-07-23 Thread Alexander Graf
The MPIC exports a register set for each CPU connected to it. They can all be accessed through specific registers or using a shadow page that is mapped differently depending on which CPU accesses it. This patch implements the shadow map, making it possible for guests to access the CPU local

[Qemu-devel] [PATCH 07/28] PPC: MPIC: Fix CI bit definitions

2011-07-23 Thread Alexander Graf
The bit definitions for critical interrupt routing are in PowerPC order (most significant bit is 0), while we end up shifting it with normal bit order. Turn the numbers around so we actually end up fetching the right ones. Signed-off-by: Alexander Graf ag...@suse.de --- hw/openpic.c | 10

[Qemu-devel] [PATCH 16/28] PPC: bamboo: Use kvm api for freq and clock frequencies

2011-07-23 Thread Alexander Graf
Now that we have nice and shiny APIs to read out the host's clock and timebase frequencies, let's use them in the bamboo code as well! Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppc440_bamboo.c | 45 - 1 files changed, 12 insertions(+), 33

[Qemu-devel] [PATCH 00/28] SMP support for MPC8544DS

2011-07-23 Thread Alexander Graf
Due to popular demand, I got involved in the dirty arts of SMP programming :). This patch set adds support for the MPC8544DS board (e500v2) to run with up to 32 virtual CPUs. This works fine with emulation and Linux guests. It also works with KVM. For non-Linux guests, TLB invalidation

[Qemu-devel] [PATCH 20/28] PPC: E500: Remove unneeded CPU nodes

2011-07-23 Thread Alexander Graf
We should only keep CPU nodes in the device tree around that we really have virtual CPUs for. So remove all superfluous entries that we just keep there in case someone wants to create a lot of vCPUs. Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppce500_mpc8544ds.c |6 ++ 1 files

[Qemu-devel] [PATCH 25/28] device tree: give dt more size

2011-07-23 Thread Alexander Graf
We currently load a device tree blob and then just take its size x2 to account for modifications we do inside. While this is nice and great, it fails when we have a small device tree as blob and lots of nodes added in machine init code. So for now, just make it 20k bigger than it was before. We

[Qemu-devel] [PATCH 13/28] PPC: KVM: Add generic function to read host clockfreq

2011-07-23 Thread Alexander Graf
We need to find out the host's clock-frequency when running on KVM, so let's export a respective function. Signed-off-by: Alexander Graf ag...@suse.de --- v1 - v2: - enable 64bit values --- target-ppc/kvm.c | 67 ++ target-ppc/kvm_ppc.h

[Qemu-devel] [PATCH 17/28] PPC: KVM: Remove kvmppc_read_host_property

2011-07-23 Thread Alexander Graf
We just got rid of the last user of kvmppc_read_host_property, so we can now safely remove it. Signed-off-by: Alexander Graf ag...@suse.de --- target-ppc/kvm_ppc.c | 35 --- target-ppc/kvm_ppc.h | 11 --- 2 files changed, 0 insertions(+), 46

[Qemu-devel] [PATCH 27/28] MPC8544DS: Generate CPU nodes on init

2011-07-23 Thread Alexander Graf
With this patch, we generate CPU nodes in the machine initialization, giving us the freedom to generate as many nodes as we want and as the machine supports, but only those. This is a first step towards a much cleaner device tree generation infrastructure, where we would not require precompiled

[Qemu-devel] [PATCH 11/28] device tree: add nop_node

2011-07-23 Thread Alexander Graf
We have a qemu internal abstraction layer on FDT. While I'm not fully convinced we need it at all, it's missing the nop_node functionality that we now need on e500. So let's add it and think about the general future of that API later. Signed-off-by: Alexander Graf ag...@suse.de --- device_tree.c

[Qemu-devel] [PATCH 09/28] PPC: E500: create multiple envs

2011-07-23 Thread Alexander Graf
When creating a VM, we should go through smp_cpus and create a virtual CPU for every CPU the user requested. This patch adds support for that and moves some code around to make that more convenient. Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppce500_mpc8544ds.c | 44

[Qemu-devel] [PATCH 22/28] PPC: E500: Update cpu-release-addr property in cpu nodes

2011-07-23 Thread Alexander Graf
The guest OS wants to know where the guest spins, so let's tell him while updating the CPU nodes with the frequencies anyways. Signed-off-by: Alexander Graf ag...@suse.de --- v1 - v2: - use new spin table address --- hw/ppce500_mpc8544ds.c |6 ++ 1 files changed, 6 insertions(+), 0

[Qemu-devel] [PATCH 04/28] PPC: Fix IPI support in MPIC

2011-07-23 Thread Alexander Graf
The current IPI support in the MPIC code is incomplete and doesn't work. This code adds proper support for IPIs in MPIC by using the IDE register to remember which CPUs IPIs are still outstanding to. New triggers through the IPI trigger register only add to the list of CPUs we want to IPI.

[Qemu-devel] [PATCH 12/28] PPC: bamboo: Move host fdt copy to target

2011-07-23 Thread Alexander Graf
We have some code in generic kvm_ppc.c that is only used by 440. Move to the 440 specific device code. Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppc440_bamboo.c | 37 +++-- target-ppc/kvm_ppc.c | 30 --

[Qemu-devel] [PATCH 08/28] PPC: Bump MPIC up to 32 supported CPUs

2011-07-23 Thread Alexander Graf
The MPIC emulation is now capable of handling up to 32 CPUs. Reflect that in the code exporting the numbers out and fix an integer overflow while at it. Signed-off-by: Alexander Graf ag...@suse.de --- v1 - v2: - Max cpus is 15 due to cINT routing - Report nb_cpus not MAX_CPUS in MPIC

[Qemu-devel] [PATCH 26/28] MPC8544DS: Remove CPU nodes

2011-07-23 Thread Alexander Graf
We want to generate the CPU nodes in machine init code, so remove them from the device tree definition that we precompile. Signed-off-by: Alexander Graf ag...@suse.de --- pc-bios/mpc8544ds.dtb | Bin 2277 - 2028 bytes pc-bios/mpc8544ds.dts | 12 2 files changed, 0 insertions(+),

[Qemu-devel] [PATCH 01/28] PPC: Move openpic to target specific code compilation

2011-07-23 Thread Alexander Graf
The MPIC has some funny feature where it maps different registers to an MMIO region depending which CPU accesses them. To be able to reflect that, we need to make OpenPIC be compiled in the target code, so it can access cpu_single_env. Signed-off-by: Alexander Graf ag...@suse.de ---

[Qemu-devel] [PATCH 19/28] PPC: E500: Update freqs for all CPUs

2011-07-23 Thread Alexander Graf
Now that we can so nicely find out the host's frequencies, we should also make sure that we get them into all virtual CPUs' device tree nodes. Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppce500_mpc8544ds.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git

[Qemu-devel] [PATCH 06/28] PPC: MPIC: Remove read functionality for WO registers

2011-07-23 Thread Alexander Graf
The IPI dispatch registers are write only according to every MPIC spec I have found. So instead of pretending you could read back something from them, better not handle them at all. Reported-by: Elie Richa ri...@adacore.com Signed-off-by: Alexander Graf ag...@suse.de --- hw/openpic.c |7

[Qemu-devel] [PATCH 28/28] PPC: E500: Bump CPU count to 15

2011-07-23 Thread Alexander Graf
Now that we have everything in place, make the machine description aware of the fact that we can now handle 15 virtual CPUs! Signed-off-by: Alexander Graf ag...@suse.de --- v1 - v2: - Max cpus is 15 because of MPIC --- hw/ppce500_mpc8544ds.c |1 + 1 files changed, 1 insertions(+), 0

[Qemu-devel] [PATCH 14/28] PPC: E500: Use generic kvm function for freq

2011-07-23 Thread Alexander Graf
Now that we have generic KVM functions to read out the host tb and clock frequencies, let's use them in the e500 code! Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppce500_mpc8544ds.c | 44 +--- 1 files changed, 9 insertions(+), 35 deletions(-)

[Qemu-devel] [PATCH 23/28] device tree: add add_subnode command

2011-07-23 Thread Alexander Graf
We want to be able to create subnodes in our device tree, so export it through the qemu device tree abstraction framework. Signed-off-by: Alexander Graf ag...@suse.de --- device_tree.c | 24 device_tree.h |1 + 2 files changed, 25 insertions(+), 0 deletions(-)

[Qemu-devel] [PATCH 10/28] PPC: E500: Generate IRQ lines for many CPUs

2011-07-23 Thread Alexander Graf
Now that we can generate multiple envs for all our virtual CPUs, we also need to tell the MPIC that we have multiple CPUs connected and connect them all to the respective virtual interrupt lines. Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppce500_mpc8544ds.c | 17 - 1

[Qemu-devel] [PATCH 24/28] device tree: dont fail operations

2011-07-23 Thread Alexander Graf
When we screw up and issue an FDT command that doesn't work, we really need to know immediately and usually can't continue to create the machine. To make sure we don't need to add error checking in all device tree modification code users, we can just add the fail checks to the qemu abstract

[Qemu-devel] [PATCH 03/28] PPC: Extend MPIC MMIO range

2011-07-23 Thread Alexander Graf
The MPIC exports a page for each CPU that it controls. To support more than one CPU, we need to also reserve the MMIO space according to the amount of CPUs we want to support. Signed-off-by: Alexander Graf ag...@suse.de --- hw/openpic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[Qemu-devel] [PATCH 15/28] PPC: E500: Remove mpc8544_copy_soc_cell

2011-07-23 Thread Alexander Graf
We don't need mpc8544_copy_soc_cell anymore, since we're explicitly reading host values and writing guest values respectively. Signed-off-by: Alexander Graf ag...@suse.de --- hw/ppce500_mpc8544ds.c | 24 1 files changed, 0 insertions(+), 24 deletions(-) diff --git

[Qemu-devel] [PATCH 21/28] PPC: E500: Add PV spinning code

2011-07-23 Thread Alexander Graf
CPUs that are not the boot CPU need to run in spinning code to check if they should run off to execute and if so where to jump to. This usually happens by leaving secondary CPUs looping and checking if some variable in memory changed. In an environment like Qemu however we can be more clever. We

[Qemu-devel] [PATCH 18/28] PPC: KVM: Add stubs for kvm helper functions

2011-07-23 Thread Alexander Graf
We have a bunch of helper functions that don't have any stubs for them in case we don't have CONFIG_KVM enabled. That didn't bite us so far, because gcc can optimize them out pretty well, but we should really provide them. Signed-off-by: Alexander Graf ag...@suse.de --- v1 - v2: - use

[Qemu-devel] [PATCH 05/28] PPC: Set MPIC IDE for IPI to 0

2011-07-23 Thread Alexander Graf
We use the IDE register with IPIs as a mask to keep track which processors have already acknowledged the respective interrupt. So we need to initialize it to 0 to make sure that it doesn't accidently fire an IPI on CPU0 when the first IPI is triggered. Reported-by: Elie Richa ri...@adacore.com

Re: [Qemu-devel] [PATCH V2] Add tee option to qemu char device

2011-07-23 Thread Anthony Liguori
On 07/14/2011 03:58 AM, Chunyan Liu wrote: Add tee backend to char device. It could be used as follows: -serial tee:filepath,pty -chardev tee,tee_fpath=path,tee_backend=pty,,path=path,,[mux=on|off] With tee option, pty output would be duplicated to filepath. Related thread:

Re: [Qemu-devel] [RESEND][PATCH v3] Generalize -machine command line option

2011-07-23 Thread Anthony Liguori
On 07/23/2011 05:38 AM, Jan Kiszka wrote: From: Jan Kiszkajan.kis...@siemens.com -machine somehow suggests that it selects the machine, but it doesn't. Fix that before this command is set in stone. Actually, -machine should supersede -M and allow to introduce arbitrary per-machine options to

Re: [Qemu-devel] [PATCH] .gitignore: ignore qemu-ga and qapi-generated

2011-07-23 Thread Anthony Liguori
On 07/23/2011 12:41 AM, Alexandre Raymond wrote: Add a new binary and generation directory to the gitignore file Signed-off-by: Alexandre Raymondcerb...@gmail.com Applied. Thanks. Regards, Anthony Liguori --- .gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

Re: [Qemu-devel] [PATCH] guest agent: use QERR_UNSUPPORTED for disabled RPCs

2011-07-23 Thread Anthony Liguori
On 07/22/2011 04:42 PM, Michael Roth wrote: Applied. Thanks. Regards, Anthony Liguori --- qga/guest-agent-commands.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c index e215bd3..624972e 100644 ---

Re: [Qemu-devel] [PATCH 00/10] [RESEND] Various net and slirp fixes enhancements

2011-07-23 Thread Anthony Liguori
On 07/20/2011 05:20 AM, Jan Kiszka wrote: Almost just a reposting of the previously sent series. No patch modified, but a nifty (IMO) new one: ping forwarding for slirp using the unprivileged ICMP sockets of Linux 3.0. See commit log for a simple how-to. CC: Gleb Natapovg...@redhat.com CC:

Re: [Qemu-devel] [PATCH v6] showing a splash picture when start

2011-07-23 Thread Anthony Liguori
On 07/10/2011 05:09 AM, Wayne Xia wrote: Added options to let qemu transfer two configuration files to bios: bootsplash.bmp and etc/boot-menu-wait, which could be specified by command -boot splash=P,splash-time=T P is jpg/bmp file name or an absolute path, T have a max value of 0x,

Re: [Qemu-devel] [PATCH] report serial devices created with -device in the PIIX4 config space

2011-07-23 Thread Anthony Liguori
On 07/15/2011 04:00 PM, Andreas Färber wrote: Am 15.07.2011 um 17:10 schrieb Paolo Bonzini: Serial and parallel devices created with -device are not reported in the PIIX4 configuration space, and are hence not picked up by the DSDT. This upsets Windows, which hides them altogether from the

Re: [Qemu-devel] [PATCH v4] hw/pc: Support system flash memory with -pflash parameter

2011-07-23 Thread Anthony Liguori
On 07/08/2011 02:37 PM, Jordan Justen wrote: If -pflash is specified and -bios is specified then pflash will be mapped just below the system rom using hw/pflash_cfi01.c. If -pflash is specified on the command line, but -bios is not specified, then 'bios.bin' will NOT be loaded, and instead the

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Michael Roth
On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests over a virtio-serial/isa-serial/unix socket channel and routes them through to dispatch routines, and writes the results back to the channel in a

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Anthony Liguori
On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests over a virtio-serial/isa-serial/unix socket channel and routes them through to dispatch routines,

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Anthony Liguori
On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests over a virtio-serial/isa-serial/unix socket channel and routes them through to dispatch routines,

Re: [Qemu-devel] [PATCH] multiboot: Support commas in module parameters

2011-07-23 Thread Anthony Liguori
On 07/06/2011 03:03 AM, Adam Lackorzynski wrote: Support commas in the parameter list of multiboot modules as well as for the kernel command line, by using double commas (via get_opt_value()). Signed-off-by: Adam Lackorzynskia...@os.inf.tu-dresden.de Reviewed-by: Kevin Wolfkw...@redhat.com

Re: [Qemu-devel] [PATCH] report serial devices created with -device in the PIIX4 config space

2011-07-23 Thread Anthony Liguori
On 07/15/2011 10:10 AM, Paolo Bonzini wrote: Serial and parallel devices created with -device are not reported in the PIIX4 configuration space, and are hence not picked up by the DSDT. This upsets Windows, which hides them altogether from the guest. To avoid this, check at the end of machine

Re: [Qemu-devel] [PATCH] fix network interface tap backend

2011-07-23 Thread Anthony Liguori
On 06/17/2011 03:56 AM, Christoph Egger wrote: Fix network interface tap backend work on NetBSD. It uses an ioctl to get the tap name. From Manuel Bouyer bou...@netbsd.org Signed-off-by: Christoph Egger christoph.eg...@amd.com diff --git a/net/tap-bsd.c b/net/tap-bsd.c index 2f3efde..577aafe

Re: [Qemu-devel] [PATCH] use mmap to allocate execute memory

2011-07-23 Thread Anthony Liguori
On 06/17/2011 05:11 AM, Christoph Egger wrote: Use mmap to allocate executable memory on NetBSD as well. From: Tobias Nygren t...@netbsd.org Signed-off-by: Christoph Egger christoph.eg...@amd.com diff --git a/exec.c b/exec.c index 09928a3..1954a1c 100644 --- a/exec.c +++ b/exec.c @@ -520,7

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Michael Roth
On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests over a virtio-serial/isa-serial/unix socket channel

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Anthony Liguori
On 07/23/2011 11:43 AM, Michael Roth wrote: On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests over a

Re: [Qemu-devel] [PATCH, v2] vga: Fix type of lfb/map_addr/end.

2011-07-23 Thread Anthony Liguori
On 06/14/2011 02:53 PM, Richard Henderson wrote: These addresses have been passed through pci_to_cpu_addr, and thus need to be full target_phys_addr_t. Signed-off-by: Richard Hendersonr...@twiddle.net Cc: Jan Kiszkajan.kis...@siemens.com Applied. Thanks. Regards, Anthony Liguori ---

Re: [Qemu-devel] [PATCH] do not reset no_shutdown after we shutdown the vm

2011-07-23 Thread Anthony Liguori
On 06/16/2011 09:25 PM, Wen Congyang wrote: Daniel P. Berrange sent a libvirt's patch to support reboots with the QEMU driver. He implements it in json model like this: 1. add -no-shutdown in the qemu's option: qemu -no-shutdown 2. shutdown the vm by monitor command system_powerdown 3.

Re: [Qemu-devel] [PATCH v2] Register Linux dyntick timer as per-thread signal

2011-07-23 Thread Anthony Liguori
On 06/17/2011 04:25 AM, Jan Kiszka wrote: Derived from kvm-tool patch http://thread.gmane.org/gmane.comp.emulators.kvm.devel/74309 Ingo Molnar pointed out that sending the timer signal to the whole process, just blocking it everywhere, is suboptimal with an increasing number of threads. QEMU is

Re: [Qemu-devel] [PATCH] qemu-char: Print strerror message on failure

2011-07-23 Thread Anthony Liguori
On 06/01/2011 06:29 AM, Kevin Wolf wrote: The only way for chardev drivers to communicate an error was to return a NULL pointer, which resulted in an error message that said _that_ something went wrong, but not _why_. This patch changes the interface to return 0/-errno and updates

Re: [Qemu-devel] [PATCH v2 0/3] Let RTC follow backward jumps of host clock immediately

2011-07-23 Thread Anthony Liguori
On 06/20/2011 07:06 AM, Jan Kiszka wrote: Just noticed that this issue is still unfixed because my series was somehow forgotten. So I've rebased it over current master, refactored it to use the generic Notifier infrastructure and renamed it to clock reset notifier to avoid confusion with icount

Re: [Qemu-devel] [PATCH] Correct spelling of licensed

2011-07-23 Thread Anthony Liguori
On 06/25/2011 09:21 PM, Matthew Fernandez wrote: Correct typos of licenced to licensed. Signed-off-by: Matthew Fernandezmatthew.fernan...@gmail.com Applied. Thanks. Regards, Anthony Liguori ... On 24 June 2011 00:42, Stefan Weilw...@mail.berlios.de wrote: Am 23.06.2011 10:08,

Re: [Qemu-devel] [PATCH 0/2] iothread improvements for Mac OS X

2011-07-23 Thread Anthony Liguori
On 06/09/2011 06:10 AM, Paolo Bonzini wrote: These are two old patches that I never submitted because I didn't really think they were useful except as cleanups. Recently, however, Alex Graf mentioned some problems that Mac OS X has with iothread, and they sounded to me like they were related to

Re: [Qemu-devel] [PATCH 0/4] A few cleanups of qdev users

2011-07-23 Thread Anthony Liguori
On 05/19/2011 06:37 AM, Markus Armbruster wrote: Markus Armbruster (4): usb-ccid: Drop unused CCIDCardInfo callback print() virtio-serial: Clean up virtser_bus_dev_print() output virtio-serial: Turn props any virtio-serial-bus device must have into bus props ide: Turn properties

Re: [Qemu-devel] [PATCH resend] vl.c: Don't limit node count by smp count

2011-07-23 Thread Anthony Liguori
On 06/29/2011 10:29 PM, Sasha Levin wrote: [I've sent this patch couple of months ago and noticed it didn't make it's way in - so I'm sending it again] It is possible to create CPU-less NUMA nodes, node amount shouldn't be limited by amount of CPUs. Tested-by: Michael

[Qemu-devel] Question about debugging binary translator (TCG beckend) in system mode

2011-07-23 Thread Lyu Mitnick
Hello all, I have written my own TCG code generator (translate TCG to i386). It works well in user mode (pass every benchmark). However, there is something error in system mode: Host - x86-64, Configuration - --target-list=i386-softmmu --enable-debug --disable-kvm

[Qemu-devel] QEMU 0.15.0-rc0, stable-0.15, and QEMU 1.0

2011-07-23 Thread Anthony Liguori
Hi, I've forked off the stable branch and tagged qemu-0.15.0-rc0 in the master repository. Please begin explicitly marking patches meant for stable as [STABLE] and CC Justin. The stable tree for this release is located at: git://git.qemu.org/qemu-stable-0.15.git That means the tree is now

Re: [Qemu-devel] [PATCH V2] Add tee option to qemu char device

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 17:23, Anthony Liguori wrote: On 07/14/2011 03:58 AM, Chunyan Liu wrote: Add tee backend to char device. It could be used as follows: -serial tee:filepath,pty -chardev tee,tee_fpath=path,tee_backend=pty,,path=path,,[mux=on|off] With tee option, pty output would be

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 18:43, Michael Roth wrote: On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the actual guest daemon, it listens for requests

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 18:49, Anthony Liguori wrote: On 07/23/2011 11:43 AM, Michael Roth wrote: On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the

Re: [Qemu-devel] [PATCH V2] Add tee option to qemu char device

2011-07-23 Thread Anthony Liguori
On 07/23/2011 01:31 PM, Alexander Graf wrote: On 23.07.2011, at 17:23, Anthony Liguori wrote: On 07/14/2011 03:58 AM, Chunyan Liu wrote: Add tee backend to char device. It could be used as follows: -serial tee:filepath,pty -chardev

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Anthony Liguori
On 07/23/2011 01:35 PM, Alexander Graf wrote: On 23.07.2011, at 18:49, Anthony Liguori wrote: On 07/23/2011 11:43 AM, Michael Roth wrote: On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Anthony Liguori
On 07/23/2011 01:34 PM, Alexander Graf wrote: On 23.07.2011, at 18:43, Michael Roth wrote: On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On 20.07.2011, at 22:19, Michael Roth wrote: This is the

[Qemu-devel] [PATCH 1/7] Export the unassigned_mem read/write functions.

2011-07-23 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- cpu-common.h |7 +++ exec.c | 12 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index 44b04b3..78e1bad 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -56,6 +56,13 @@

[Qemu-devel] [PATCH 2/7] pci: Export pci_to_cpu_addr.

2011-07-23 Thread Richard Henderson
This is, more or less, the read accessor to pci_bus_set_mem_base as a write accessor. It will be needed for implementing sparse memory spaces for Alpha. Signed-off-by: Richard Henderson r...@twiddle.net --- hw/pci.c |3 +-- hw/pci.h |1 + 2 files changed, 2 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH 7/7] target-alpha: Add high-resolution access to wall clock and an alarm.

2011-07-23 Thread Richard Henderson
The alarm is a fully general one-shot time comparator, which will be usable under Linux as a hrtimer source. It's much more flexible than the RTC source available on real hardware. The wall clock allows the guest access to the host timekeeping. Much like the KVM wall clock source for other

[Qemu-devel] [PATCH 3/7] target-alpha: Add custom PALcode image for CLIPPER emulation.

2011-07-23 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- .gitmodules |3 +++ Makefile|3 ++- configure |8 +++- pc-bios/README |3 +++ pc-bios/palcode-clipper | Bin 0 - 185703 bytes roms/qemu-palcode |1 + 6 files

[Qemu-devel] [PATCH 4/7] target-alpha: Add CLIPPER emulation.

2011-07-23 Thread Richard Henderson
This is a DP264 variant, SMP capable, no unusual hardware present. The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon. Signed-off-by: Richard Henderson r...@twiddle.net --- Makefile.target |1 +

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 21:12, Anthony Liguori wrote: On 07/23/2011 01:35 PM, Alexander Graf wrote: On 23.07.2011, at 18:49, Anthony Liguori wrote: On 07/23/2011 11:43 AM, Michael Roth wrote: On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 21:14, Anthony Liguori wrote: On 07/23/2011 01:34 PM, Alexander Graf wrote: On 23.07.2011, at 18:43, Michael Roth wrote: On 07/23/2011 11:10 AM, Anthony Liguori wrote: On 07/23/2011 11:06 AM, Michael Roth wrote: On 07/23/2011 05:07 AM, Alexander Graf wrote: On

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Jes Sorensen
On 07/23/11 18:10, Anthony Liguori wrote: qga/guest-agent-commands.c: In function ‘qmp_guest_fsfreeze_freeze’: qga/guest-agent-commands.c:443: error: ‘FIFREEZE’ undeclared (first use in this function) qga/guest-agent-commands.c:443: error: (Each undeclared identifier is reported only once

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Alexander Graf
On 23.07.2011, at 21:23, Jes Sorensen wrote: On 07/23/11 18:10, Anthony Liguori wrote: qga/guest-agent-commands.c: In function ‘qmp_guest_fsfreeze_freeze’: qga/guest-agent-commands.c:443: error: ‘FIFREEZE’ undeclared (first use in this function) qga/guest-agent-commands.c:443: error:

[Qemu-devel] [PATCH 6/7] target-alpha: Implement HALT IPR.

2011-07-23 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- target-alpha/helper.h|1 + target-alpha/op_helper.c | 10 ++ target-alpha/translate.c |5 + 3 files changed, 16 insertions(+), 0 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index

[Qemu-devel] [PULL 0/7] Alpha system emulation, v7

2011-07-23 Thread Richard Henderson
Changes v6-v7 * Rebase against master, which now includes 2 patches from v6. The tree is available at git://repo.or.cz/qemu/rth.git axp-system-5 Please pull, review, or something. r~ Richard Henderson (7): Export the unassigned_mem read/write functions. pci: Export

[Qemu-devel] [PATCH 5/7] target-alpha: Implement WAIT IPR.

2011-07-23 Thread Richard Henderson
--- target-alpha/translate.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index c61906a..fddaff8 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -1617,9 +1617,10

Re: [Qemu-devel] [PATCH v4] hw/pc: Support system flash memory with -pflash parameter

2011-07-23 Thread Jordan Justen
On Sat, Jul 23, 2011 at 08:51, Anthony Liguori anth...@codemonkey.ws wrote: On 07/08/2011 02:37 PM, Jordan Justen wrote: If -pflash is specified and -bios is specified then pflash will be mapped just below the system rom using hw/pflash_cfi01.c. If -pflash is specified on the command line,

[Qemu-devel] [PATCH 3/5] exec.c: Use ram_addr_t in cpu_physical_memory_rw(...).

2011-07-23 Thread Alexander Graf
From: Anthony PERARD anthony.per...@citrix.com As the variable pd and addr1 inside the function cpu_physical_memory_rw are mean to handle a RAM address, they should be of the ram_addr_t type instead of unsigned long. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Paolo Bonzini

[Qemu-devel] [PULL 0/5] Xen patch queue 2011-07-23

2011-07-23 Thread Alexander Graf
Hi Anthony, This is a rebase of the last xen-next pull request, this time without the xen-mapcache build breakage fix, as that's been fixed meanwhile. Please pull. Alex The following changes since commit 1167bfd63d983eaa4816ee0edb185f98ff070d6d: Anthony Liguori (1): Open 1.0

[Qemu-devel] [PATCH 4/5] xen: remove CONFIG_XEN_MAPCACHE

2011-07-23 Thread Alexander Graf
We were still exporting CONFIG_XEN_MAPCACHE, even though it's completely unused by now. Remove it. Signed-off-by: Alexander Graf ag...@suse.de --- configure |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 6911c3b..90fe09f 100755 ---

[Qemu-devel] [PATCH 1/5] xen: introduce xen_change_state_handler

2011-07-23 Thread Alexander Graf
From: Anthony PERARD anthony.per...@citrix.com Remove the call to xenstore_record_dm_state from xen_main_loop_prepare that is HVM specific. Add a new vm_change_state_handler shared between xen_pv and xen_hvm machines to record the VM state to xenstore. Signed-off-by: Anthony PERARD

[Qemu-devel] [PATCH 2/5] xen: Fix xen_enabled().

2011-07-23 Thread Alexander Graf
From: Anthony PERARD anthony.per...@citrix.com Use the host CONFIG_ define instead of the target one. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Alexander Graf ag...@suse.de --- hw/xen.h |2 +- 1 files changed, 1

[Qemu-devel] [PATCH 5/5] xen: make xen_enabled even more clever

2011-07-23 Thread Alexander Graf
When using xen_enabled() we're currently only checking if xen is enabled at all during the build. But what if you want to build multiple targets out of which only one can potentially run xen code? That means that for generic code we'll still have to fall back to the variable and potentially slow

[Qemu-devel] [PATCH] qemu-ga: remove dependency on gio and gthread

2011-07-23 Thread Anthony Liguori
As far as I can tell, there isn't a dependency on gthread. Also, the only use of gio was to enable GSocket to accept a unix domain socket. Since GSocket isn't available on OpenSuSE 11.1, let's just remove that dependency. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- configure |6

Re: [Qemu-devel] [PATCH] guest agent: qemu-ga daemon

2011-07-23 Thread Anthony Liguori
On 07/23/2011 02:22 PM, Alexander Graf wrote: We default off'd the I/O thread even after years we still don't have it enabled. With respect to 0.15, this bit of code is totally isolated from everything else. Worst case scenario, we just disable it on platforms where it doesn't work. It

[Qemu-devel] [PATCH] guest-agent: only enable FSFREEZE when it's supported by the kernel

2011-07-23 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- qga/guest-agent-commands.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c index 624972e..30c4068 100644 --- a/qga/guest-agent-commands.c +++

[Qemu-devel] [PULL 0.15 0/4] xen-stable patch queue 2011-07-22

2011-07-23 Thread Alexander Graf
Hi Anthony, This is my current patch queue for xen on 0.15. Please pull. Alex The following changes since commit b8095f24f24e50a7d4be33d8a79474aff3324295: Anthony Liguori (1): Bump version to reflect v0.15.0-rc0 are available in the git repository at:

[Qemu-devel] [PATCH 4/4] xen: make xen_enabled even more clever

2011-07-23 Thread Alexander Graf
When using xen_enabled() we're currently only checking if xen is enabled at all during the build. But what if you want to build multiple targets out of which only one can potentially run xen code? That means that for generic code we'll still have to fall back to the variable and potentially slow

[Qemu-devel] [PATCH 1/4] exec.c: Use ram_addr_t in cpu_physical_memory_rw(...).

2011-07-23 Thread Alexander Graf
From: Anthony PERARD anthony.per...@citrix.com As the variable pd and addr1 inside the function cpu_physical_memory_rw are mean to handle a RAM address, they should be of the ram_addr_t type instead of unsigned long. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Paolo Bonzini

[Qemu-devel] [PATCH 3/4] xen: remove CONFIG_XEN_MAPCACHE

2011-07-23 Thread Alexander Graf
We were still exporting CONFIG_XEN_MAPCACHE, even though it's completely unused by now. Remove it. Signed-off-by: Alexander Graf ag...@suse.de --- configure |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 6911c3b..90fe09f 100755 ---

[Qemu-devel] [PATCH 2/4] xen: Fix xen_enabled().

2011-07-23 Thread Alexander Graf
From: Anthony PERARD anthony.per...@citrix.com Use the host CONFIG_ define instead of the target one. Signed-off-by: Anthony PERARD anthony.per...@citrix.com Acked-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Alexander Graf ag...@suse.de --- hw/xen.h |2 +- 1 files changed, 1

[Qemu-devel] [PATCH 0/3] build/warning fixes

2011-07-23 Thread Blue Swirl
Blue Swirl (3): Fix chrdev return value conversion slirp: fix warning on mingw32 simpletrace: suppress a warning from unused variable hw/baum.h |2 +- qemu-char.c |7 --- simpletrace.c |2 +- slirp/ip_icmp.c |2 +- 4 files changed, 7 insertions(+), 6

  1   2   >