From: David Gibson d...@au1.ibm.com
qemu already includes support for the popcntb instruction introduced
in POWER5 (although it doesn't actually allow you to choose POWER5).
However, the logic is slightly incorrect: it will generate results
truncated to 32-bits when the CPU is in 32-bit mode.
Tristan Gingold ging...@adacore.com writes:
Signed-off-by: Tristan Gingold ging...@adacore.com
---
net.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c
index ddcca97..b2dfaa8 100644
--- a/net.c
+++ b/net.c
@@ -1305,9 +1305,10 @@ void
On 03/15/11 15:23, Alon Levy wrote:
On Tue, Mar 15, 2011 at 08:45:29AM -0500, Anthony Liguori wrote:
On 03/15/2011 08:14 AM, Alon Levy wrote:
Alternatively the external apps that build against it should be taught
to link with the QEMU version.
That would require me to teach qemu's configure
On 03/15/11 16:14, Alon Levy wrote:
On Tue, Mar 15, 2011 at 03:59:26PM +0100, Jes Sorensen wrote:
I don't think it is necessary for distro packaging. Most distros will
build multiple binary packages from one source package, and it is up to
the user to decide which ones to install.
if
The -virtfs option creates an fsdev representing the pass-through file
system and a guest-visible virtio-9p-pci device that can access this
file system. This patch replaces the string manipulation used to build
and reparse option lists with direct QemuOpts calls. Removing the
string manipulation
On Tue, Mar 15, 2011 at 11:41:19PM +0100, Marco Cianfriglia wrote:
Hi to all,
thanks for the suggestion to make use of the -cpu nehalem switch.
It should be -cpu Nehalem.
I try to use the option you suggest but I receive this error:
Unable to find x86 CPU definition
On Tue, Mar 15, 2011 at 9:28 PM, Aidar Kamalov
735...@bugs.launchpad.net wrote:
Mar 15 17:58:04 mainhost kernel: [65866.980085] Call Trace:
Mar 15 17:58:04 mainhost kernel: [65866.980085] [8100f06f] ?
0x8100f06f
Mar 15 17:58:04 mainhost kernel: [65866.980085]
On Wed, Mar 16, 2011 at 09:23:20AM +0100, Jes Sorensen wrote:
On 03/15/11 15:23, Alon Levy wrote:
On Tue, Mar 15, 2011 at 08:45:29AM -0500, Anthony Liguori wrote:
On 03/15/2011 08:14 AM, Alon Levy wrote:
Alternatively the external apps that build against it should be taught
to link with
On 03/16/11 09:40, Alon Levy wrote:
On Wed, Mar 16, 2011 at 09:23:20AM +0100, Jes Sorensen wrote:
It's really not far off, most of it is in the Makefiles. You really just
need to have a libcacard flag that is enabled per default (and is
required if one asks for --enable-smartcard), but can be
On Tue, Mar 15, 2011 at 11:55 AM, Kevin Wolf kw...@redhat.com wrote:
This adds a description of the qcow2 file format to the docs/ directory.
Besides documenting what's there, which is never wrong, the document should
provide a good basis for the discussion of format extensions (called qcow3
On Tue, Mar 15, 2011 at 12:30 PM, Aneesh Kumar K. V
aneesh.ku...@linux.vnet.ibm.com wrote:
On Tue, 15 Mar 2011 11:11:46 +, Stefan Hajnoczi stefa...@gmail.com
wrote:
On Tue, Mar 15, 2011 at 9:19 AM, Aneesh Kumar K. V
aneesh.ku...@linux.vnet.ibm.com wrote:
On Mon, 14 Mar 2011 10:20:57
On 2011-03-16 09:33, Gleb Natapov wrote:
On Tue, Mar 15, 2011 at 11:41:19PM +0100, Marco Cianfriglia wrote:
Hi to all,
thanks for the suggestion to make use of the -cpu nehalem switch.
It should be -cpu Nehalem.
We neither have nehalem nor Nehalem as CPU definition in qemu or
On 2011-03-15 22:50, Marcelo Tosatti wrote:
From: Jan Kiszka jan.kis...@siemens.com
Both have only two lines in common, and we will convert the system
service into a callback which is of no use for user mode operation.
From KVM POV, the value of this patch is not that high as long as we do
On Wed, Mar 16, 2011 at 10:02:43AM +0100, Jan Kiszka wrote:
On 2011-03-16 09:33, Gleb Natapov wrote:
On Tue, Mar 15, 2011 at 11:41:19PM +0100, Marco Cianfriglia wrote:
Hi to all,
thanks for the suggestion to make use of the -cpu nehalem switch.
It should be -cpu Nehalem.
- the trigger mode is edge at first
- During initializatoin, the interrupt is raised as edge which is masked.
The corresponding bit of irr is set.
- Then the mode is switched to level and it's unmasked.
- the bit of irr is set, so the interrupt is raised repeatedly by
ioapic_service().
- OS
On Mon, Mar 14, 2011 at 02:54:59PM +0100, Jes Sorensen wrote:
On 02/23/11 12:20, Alon Levy wrote:
diff --git a/configure b/configure
index 791b71d..147aab3 100755
--- a/configure
+++ b/configure
@@ -174,6 +174,7 @@ trace_backend=nop
trace_file=trace
spice=
rbd=
+smartcard=yes
Hi,
As discussed on irc I think we need to look into this and see
if we can fix it properly while at it.
IOW to be continued...
Regards,
Hans
On 03/15/2011 09:17 PM, Alon Levy wrote:
Dropping the locks prevents a deadlock when running with -sdl or -vnc
in addition to -spice.
When server
Ack (assuming the issues with the previous 2 patches are fixed):
Acked-by: Hans de Goede hdego...@redhat.com
On 03/15/2011 09:17 PM, Alon Levy wrote:
with the previous patch making sure get_command no longer needs to lock,
there is no reason to drop the qemu iothread mutex in qxl.c and in
On Tue, Mar 15, 2011 at 1:13 PM, Anthony Liguori aligu...@us.ibm.com wrote:
Why even bothering signaling for completion with the virtio-9p threadpool?
There's no sane guest that's going to poll on virtio-9p completion with
interrupts disabled and no timer. Once we enable the I/O thread by
On 03/16/11 10:15, Alon Levy wrote:
On Mon, Mar 14, 2011 at 02:54:59PM +0100, Jes Sorensen wrote:
+typedef struct __attribute__ ((__packed__)) CCID_Header {
+uint8_t bMessageType;
+uint32_tdwLength;
+uint8_t bSlot;
+uint8_t bSeq;
+} CCID_Header;
Is this
pci_bridge_to_pci() which converts PCIBridge into PCIDevice which will
be used later by pci_p2pbr.
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pci_bridge.c |6 ++
hw/pci_bridge.h |1 +
2 files changed, 7 insertions(+), 0
add uhci device which has ich9 device id.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pci_ids.h |2 ++
hw/usb-uhci.c |8
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index ea3418c..9daea23 100644
--- a/hw/pci_ids.h
use DeviceInfo::reset callback instead of qemu_register_reset().
With this patch, its reset is done before parent pci device's reset.
Cc: Alexander Graf ag...@suse.de
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/ide/ich.c |9 ++---
1 files changed, 6 insertions(+), 3
Factor out pc nic initialization.
This simplifies the pc initialization and will reduce the code
duplication of q35 pc initialization.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pc.c | 15 +++
hw/pc.h |1 +
hw/pc_piix.c |9 +
3 files
Factor out the logic of allocating isa irqs.
This simplifies the pc initialization and will reduce the code
duplication of q35 pc initialization.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pc.c | 16 ++--
hw/pc.h |2 +-
hw/pc_piix.c |8 +---
3
Introduce a helper function which initialize ahci port with ide device
It will be used by q35 support later.
Cc: Alexander Graf ag...@suse.de
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/ide.h |3 +++
hw/ide/ahci.c | 15 +++
2 files changed, 18
ioapic isn't piix specific. And q35 pc will use it.
So move ioapic_init() from pc_piix.c to common place, pc.c.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pc.c | 16
hw/pc.h |2 ++
hw/pc_piix.c | 16
3 files changed, 18
factor out ide initialization to call drive_get(IF_IDE)
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/ide.h |3 +++
hw/ide/core.c | 14 ++
hw/mips_fulong2e.c |9 +
hw/mips_malta.c| 10 +-
hw/mips_r4k.c | 10
Pass opaque argument to pci_map_irq_fn like pci_set_irq_fn.
ICH9 irq routing is not static, but configurable by chipset configuration
registers, so the corresponding irq mapping function of pci_map_irq_fn
needs to know the pointer to ich9.
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by:
simply i440fx initialization by eliminating
i440fx_init_memory_mappings().
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pc.h |2 +-
hw/pc_piix.c |8 +---
hw/piix_pci.c | 15 ++-
3 files changed, 8 insertions(+), 17 deletions(-)
diff --git
On Tue, Mar 15, 2011 at 2:11 PM, Christoph Hellwig h...@lst.de wrote:
Change BDRV_O_NOCACHE to only imply bypassing the host OS file cache,
but no writeback semantics. All existing callers are changed to also
specify BDRV_O_CACHE_WB to give them writeback semantics.
Signed-off-by: Christoph
introduce pci_swizzle_map_irq_fn() for interrupt pin swizzle which is
standardized. PCI bridge swizzle is common logic, by introducing
this function duplicated swizzle logic will be avoided later.
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
factor out PM_TMR logic. Later This will be used by ich9 acpi.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/acpi.c | 45 +
hw/acpi.h | 24
hw/acpi_piix4.c | 45
Introduce symbol PCI_SLOT_MAX for the maximum of slot.
and replace the magic, 256.
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pci.h |1 +
hw/pci_internals.h |2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff
factor out ACPI GPE logic. Later it will be used by ICH9 ACPI.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/acpi.c | 66 ++
hw/acpi.h | 17 ++
hw/acpi_piix4.c | 95 ++
/q35/20110316/qemu
git clone http://people.valinux.co.jp/~yamahata/qemu/q35/20110316/seabios
Example:
qemu-system-x86_64 ... -M pc_q35 -acpitable
'load_header,data=roms/seabios/src/q35-acpi-dsdt.aml
The motivation is to support newer hardware features because
piix chipset is very old.
Especially I
apply pci_p2pbr for dec_pci.c.
Cc: Michael S. Tsirkin m...@redhat.com
Cc: Blue Swirl blauwir...@gmail.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/dec_pci.c | 49 ++---
1 files changed, 14 insertions(+), 35 deletions(-)
diff --git
Introduce accessor function to know INTx levels.
It will be used later by q35.
Although piix_pci tracks the intx line levels, it can be eliminated
by this helper function.
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pci.c |7 +++
factor out ACPI PM1_CNT logic. This will be used by ich9 acpi.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/acpi.c | 49 +
hw/acpi.h | 14 ++
hw/acpi_piix4.c | 40 ++--
Adds pci id constants which will be used by q35.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/pci_ids.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hw/pci_ids.h b/hw/pci_ids.h
index 9daea23..a597a7b 100644
--- a/hw/pci_ids.h
+++ b/hw/pci_ids.h
@@
factor out ACPI PM1a EVT logic.
Later this will be used by ich9 acpi.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/acpi.c | 37 +
hw/acpi.h | 13 +
hw/acpi_piix4.c | 52
Create generic pci p2p bridge device which can be customized
via properties like vendor id/device id and so on.
With this, we can avoid to create many pci p2p bridge which only
differs in those ids.
Cc: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
PIIX3State::pci_irq_levels are redundant which is already tracked by
PCIBus layer. So eliminate them.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/piix_pci.c | 31 +--
1 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/hw/piix_pci.c
apply pci_p2pbr for apb_pci.c.
Cc: Michael S. Tsirkin m...@redhat.com
Cc: Blue Swirl blauwir...@gmail.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/apb_pci.c | 63 -
1 files changed, 27 insertions(+), 36 deletions(-)
consolidate smbus initialization for pc_piix, mips_malta and mips_fulong.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
Cc: Aurelien Jarno aurel...@aurel32.net
Cc: Huacai Chen zltjiang...@gmail.com
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/mips_fulong2e.c |9
On Tue, Mar 15, 2011 at 2:11 PM, Christoph Hellwig h...@lst.de wrote:
Add a new bdrv_change_cache that can set/clear the writeback flag
at runtime by stopping all I/O and closing/reopening the image file.
All code is based on a patch from Prerna Saxena pre...@linux.vnet.ibm.com
with minimal
clone http://people.valinux.co.jp/~yamahata/qemu/q35/20110316/qemu
git clone http://people.valinux.co.jp/~yamahata/qemu/q35/20110316/seabios
Example:
qemu-system-x86_64 ... -M pc_q35 -acpitable
'load_header,data=roms/seabios/src/q35-acpi-dsdt.aml
My question is unrelated to your q35 work, but I
Am 16.03.2011 10:42, schrieb Stefan Hajnoczi:
On Tue, Mar 15, 2011 at 2:11 PM, Christoph Hellwig h...@lst.de wrote:
Change BDRV_O_NOCACHE to only imply bypassing the host OS file cache,
but no writeback semantics. All existing callers are changed to also
specify BDRV_O_CACHE_WB to give them
Factor out smram/pam logic for later use.
Which will be used by q35 too.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
Makefile.target |2 +-
hw/pam.c| 128 +++
hw/pam.h| 96
hiI want to profile mips ELF with the help of QEMU so that I can find more time
consuming portion of the code. does QEMU user mode emulation provide such
feature? I did a small experiment. I configure QEMU with --enable-gprof and
makeafterwards i gave following command$qemu-mips hw_mipswhere
generalize initialization to make vendir/device id
customizable.
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp
---
hw/usb-uhci.c | 87 -
1 files changed, 43 insertions(+), 44 deletions(-)
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c
Hi All
I am interested in developing a custom PCI device for qemu.
For learning purpose, It could be just a very basic device e.g. a device
which just loopbacks the contents from device memory to some system buffer.
Please guide me how such a device can be developed in qemu.
Do qemu have some
Signed-off-by: Fabien Chouteau chout...@adacore.com
---
target-ppc/translate.c | 201 +++-
1 files changed, 197 insertions(+), 4 deletions(-)
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 89413c5..e438433 100644
---
Am 16.03.2011 10:49, schrieb Stefan Hajnoczi:
On Tue, Mar 15, 2011 at 2:11 PM, Christoph Hellwig h...@lst.de wrote:
Add a new bdrv_change_cache that can set/clear the writeback flag
at runtime by stopping all I/O and closing/reopening the image file.
All code is based on a patch from Prerna
On Tue, Mar 15, 2011 at 10:39 AM, Arun R Bharadwaj
a...@linux.vnet.ibm.com wrote:
-static void v9fs_stat_post_lstat(V9fsState *s, V9fsStatState *vs, int err)
+static void v9fs_stat_post_lstat(void *opaque)
{
- if (err == -1) {
- err = -errno;
+ V9fsStatState *vs =
vhost was passing a physical address to cpu_physical_memory_set_dirty,
which is wrong: we need to translate to ram address first.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Note: this lead to crashes during migration, so the patch
is needed on the stable branch too.
---
hw/vhost.c |
Hi,
I wanted to test vcpu hotplug. When adding a cpu I'm getting
qdev_create_from_info: Assertion `bus-allow_hotplug' failed.
I went through a discussion about the subject here
http://lists.nongnu.org/archive/html/qemu-devel/2010-08/msg00999.html
To make sure whether it was working, I hard-coded
It already fails, but it didn't tell the user why.
Signed-off-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Juan Quintela quint...@redhat.com
---
savevm.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/savevm.c b/savevm.c
index 60d2f2a..d1b9b4a 100644
--- a/savevm.c
+++
From: Feiran Zheng famc...@gmail.com
In hw/xen_disk.c, async writing ioreq is leaked when
ioreq-req.nr_segments==0, because `aio_inflight` flag is not released
properly (skipped by misplaced break).
Signed-off-by: Feiran Zheng famc...@gmail.com
Acked-by: Stefano Stabellini
The following changes since commit cc015e9a5dde2f03f123357fa060acbdfcd570a4:
add Win32 IPI service (2011-03-13 14:44:22 +)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Brian Wheeler (1):
Fix ATA SMART and CHECK POWER MODE
Feiran Zheng (1):
I have another problem: Windows 7 x86 setup hangs when Setup Is
Starting Windows. Any suggestions?
It's wrong to call BHs directly, even in tools. The only operations that
schedule BHs are called in a loop that (indirectly) contains a call to
qemu_bh_poll anyway, so we're not losing the scheduled BHs: Tools either use
synchronous functions, which are guaranteed to have completed (including any
From: Stefan Weil w...@mail.berlios.de
This patch is similar to 171e3d6b9997c98a97d0c525867f7cd9b640cadd
which fixed qcow2:
Returning -EIO is far from optimal, but at least it's an error code.
In addition to read/write failures, -EIO is also returned when
decompress_cluster failed.
Cc: Kevin
From: Ryan Harper ry...@us.ibm.com
If the block device has been closed, we no longer have a medium to submit
IO against, check for this before submitting io. This prevents a segfault
further in the code where we dereference elements of the block driver.
Signed-off-by: Ryan Harper
From: Brian Wheeler bdwhe...@indiana.edu
This patch fixes two things:
1) CHECK POWER MODE
The error return value wasn't always zero, so it would show up as
offline. Error is now explicitly set to zero.
2) SMART
The smart values that were returned were invalid and tools like skdump
would
This adds a description of the qcow2 file format to the docs/ directory.
Besides documenting what's there, which is never wrong, the document should
provide a good basis for the discussion of format extensions (called qcow3
in previous discussions)
Signed-off-by: Kevin Wolf kw...@redhat.com
From: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx |2 --
vl.c|7 +--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 3e9a274..4220aad 100644
---
From: Jes Sorensen jes.soren...@redhat.com
In case we cannot open the newly created snapshot image, try to fall
back to the original image file and continue running on that, which
should prevent the guest from aborting.
This is a corner case which can happen if the admin by mistake
specifies the
From: Jes Sorensen jes.soren...@redhat.com
Hi,
This is v4 version of the -display patches and the option to
make VNC optional.
It introduces a new -display argument to consolidate the current
-sdl/-curses/-nographic/-vnc arguments.
Only change in v4 is to fix the problem where the build would
From: Jes Sorensen jes.soren...@redhat.com
New option -display none. This option differs from -display nographic
by not trying to take control of stdio etc. but instead behaves as if
a graphics display is enabled, except that it doesn't show one.
Signed-off-by: Jes Sorensen
From: Jes Sorensen jes.soren...@redhat.com
This patch introduces a -display argument which consolidates the
setting of the display mode. Valid options are:
sdl/curses/default/serial (serial is equivalent to -nographic)
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx |
From: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx |5 -
vl.c| 14 ++
2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index d4f365a..ac3c2e5 100644
From: Jes Sorensen jes.soren...@redhat.com
This removes various code duplication from console.e and sdl.c
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
console.c | 46 --
console.h |2 ++
ui/sdl.c | 20
3 files
From: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx | 10 --
vl.c|8
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index ac3c2e5..3e9a274 100644
On Wed, Mar 16, 2011 at 06:49:27PM +0800, TeLeMan wrote:
I have another problem: Windows 7 x86 setup hangs when Setup Is
Starting Windows. Any suggestions?
Same. Try -cpu Nehalem. I am not sure this alone will help, but worth
trying.
--
Gleb.
From: Jes Sorensen jes.soren...@redhat.com
Per default VNC is enabled.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
Makefile.objs | 19 ++-
configure | 37 +
console.h | 26 --
monitor.c |
On 16 March 2011 11:00, jes.soren...@redhat.com wrote:
From: Jes Sorensen jes.soren...@redhat.com
This patch introduces a -display argument which consolidates the
setting of the display mode. Valid options are:
sdl/curses/default/serial (serial is equivalent to -nographic)
You forgot to
On 16 March 2011 11:00, jes.soren...@redhat.com wrote:
From: Jes Sorensen jes.soren...@redhat.com
New option -display none. This option differs from -display nographic
by not trying to take control of stdio etc. but instead behaves as if
a graphics display is enabled, except that it doesn't
I tried. This issue should be associated with some IO device or bus.
On 2011-03-16, Gleb Natapov g...@redhat.com wrote:
On Wed, Mar 16, 2011 at 06:49:27PM +0800, TeLeMan wrote:
I have another problem: Windows 7 x86 setup hangs when Setup Is
Starting Windows. Any suggestions?
Same. Try -cpu
Hi All,
I am Not able to hear sound on windows-xp ,I have built qemu
statically with alsa support .Below is the log wat it spews out ,Can anyone
help me
out to solve this issue.
Thanks
wasim
root@user-desktop:~/testing_qemu/qemu-kvm-0.14.0/x86_64-softmmu# export
On 03/16/11 12:46, Peter Maydell wrote:
On 16 March 2011 11:00, jes.soren...@redhat.com wrote:
From: Jes Sorensen jes.soren...@redhat.com
This patch introduces a -display argument which consolidates the
setting of the display mode. Valid options are:
sdl/curses/default/serial (serial is
.
(vgabios doesn't need patches, so use the upstream one)
git clone http://people.valinux.co.jp/~yamahata/qemu/q35/20110316/qemu
git clone http://people.valinux.co.jp/~yamahata/qemu/q35/20110316/seabios
Example:
qemu-system-x86_64 ... -M pc_q35 -acpitable
'load_header,data=roms
Hi all,
I am trying to run ARM realview-pbx-a9 board in QEMU. I am able to mount
rootfs through NFS, by appending root=/dev/nfs.
But I want to run the rootfs by creating a rootfs.img (by qemu-img command).
I was running NFS rootfs as follows:
$ qemu-system-arm -M realview-pbx-a9 -m 1024M
From: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx |5 -
vl.c| 14 ++
2 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 08a99b5..5f8dc04 100644
From: Jes Sorensen jes.soren...@redhat.com
This removes various code duplication from console.e and sdl.c
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
console.c | 46 --
console.h |2 ++
ui/sdl.c | 20
3 files
From: Jes Sorensen jes.soren...@redhat.com
Hi,
This is v5 version of the -display patches and the option to
make VNC optional.
It introduces a new -display argument to consolidate the current
-sdl/-curses/-nographic/-vnc arguments.
v5 fixes the commit messages and adds some documentation
From: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx | 10 --
vl.c|8
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 5f8dc04..1193d94 100644
From: Jes Sorensen jes.soren...@redhat.com
New option -display none. This option differs from -nographic by not
trying to take control of stdio etc. but instead behaves as if a
graphics display is enabled, except that it doesn't show one.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
On 16 March 2011 12:24, Sid Kapoor sidkapoor2...@gmail.com wrote:
I am trying to run qemu after building rootfs.img as follows:
$ qemu-system-arm -M realview-pbx-a9 -m 1024M -kernel zImage.rfs -serial
stdio -append root=/dev/hda1 rw console=ttyAMA0 rdinit=/sbin/init -net nic
-net
From: Jes Sorensen jes.soren...@redhat.com
Per default VNC is enabled.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
Makefile.objs | 19 ++-
configure | 37 +
console.h | 26 --
monitor.c |
From: Jes Sorensen jes.soren...@redhat.com
This patch introduces a -display argument which consolidates the
setting of the display mode. Valid options are:
sdl/curses/default
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx | 22
vl.c| 75
From: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
---
qemu-options.hx |2 --
vl.c|7 +--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 1193d94..ef60730 100644
---
Switching locking protection of ds-cursor_set/cursor_move to moving
every call to these functions into the iothread and using the ssd-pipe
to transfer that, adding QXL_SERVER_CURSOR_SET, QXL_SERVER_CURSOR_MOVE.
This is tested with both -vnc :0 -spice and -sdl -spice.
---
hw/qxl-render.c | 25
अनुज anu...@gmail.com writes:
Hi All
I am interested in developing a custom PCI device for qemu.
For learning purpose, It could be just a very basic device e.g. a device
which just loopbacks the contents from device memory to some system buffer.
Please guide me how such a device can be
with the previous patch making sure get_command no longer needs to lock,
there is no reason to drop the qemu iothread mutex in qxl.c and in
ui/spice-display.c
The only location where the lock remains are the cursor related callbacks,
that path is currently broken. It is only triggered if running
From: Uri Lublin u...@redhat.com
This patch and the next drop the requirement to lose the global qemu
mutex during dispatcher calls. This patch enables it, the next drops
the unlock/lock pairs around dispatcher calls.
The current solution of dropping the locks is buggy:
* it allows multiple
Michael S. Tsirkin m...@redhat.com wrote:
vhost was passing a physical address to cpu_physical_memory_set_dirty,
which is wrong: we need to translate to ram address first.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Note: this lead to crashes during migration, so the patch
is needed
this moves the int pipe[2] and pthread_t main data from the
PCIQXLDevice struct to the SimpleSpiceDisplay. This will let us
reuse it in the next patch for both -spice with no -qxl usage and
for vga mode from qxl.
---
hw/qxl.c | 32
hw/qxl.h |
Hi PMM,
Thanks for a quick reply.
Well if this is the case then I would stick to the NFS rootfs itself.
Actually in the NFS case, the network bridge/tap that I have created is a
bit scrappy.
For eg., a file transfer runs for sometime and then halts for a minute or
two, resulting in almost 8-10
v1-v2 changes:
* patch 4 rewrite: instead of todos implemented usage of pipe for cursor_set
and cursor_move.
* small fixes: (Hans de Goede)
* fix introducing function in patch 1 and renaming it in patch 2.
(s/qxl_create_vcpu_to_iothread_pipe/qxl_create_server_to_iothread_pipe/)
* move
1 - 100 of 217 matches
Mail list logo