Hi
On Mon, Jan 16, 2012 at 06:09, Rajat Goyal rajat.goyal...@gmail.com wrote:
Is there a way by which I can get the
complete TCG code for pthread parallel binaries in exchange for not making
QEMU execute the binary?
The thing is, the way I see it, TCG is meant to be like JIT compiler.
On 16 January 2012 01:56, Alexander Graf ag...@suse.de wrote:
On 13.01.2012, at 21:52, Peter Maydell wrote:
From: Evgeny Voevodin e.voevo...@samsung.com
The secondary CPU bootloader in arm_boot.c holds secondary CPUs in a
pen until the primary CPU releases them. Make boards specify the
Vadim,
I just ran the Qemu monitor to get the PCI information. The information is
listed belowe.
From the listed information, I did not see anything wrong with the BAR0.
---
INFO:
Bus 0, device 0, function 0:
Host bridge: PCI device 8086:1237
id
Bus 0, device 1,
On 01/13/2012 05:14 PM, Anthony Liguori wrote:
On 01/13/2012 05:19 AM, Hannes Reinecke wrote:
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
I've tested it to work with Linux, Windows Vista, and Windows7.
Changes since v8:
- Remove 'disable' keyword from trace definitions
Most of the codebase as been converted to use glib memory allocation
functions. There are still a few instances of malloc/calloc in the
block layer and qemu-io. Replace them, especially since they do not
check the strdup/malloc/calloc return value.
Reported-by: Dr David Alan Gilbert
On Mon, Jan 16, 2012 at 01:46:52AM +0100, Andreas Färber wrote:
Commit cbcfa0418f0c196afa765f5c9837b9344d1adcf3 (link the main loop and
its dependencies into the tools) introduced stray usages of int64.
Use int64_t instead.
Signed-off-by: Andreas Färber afaer...@suse.de
Cc: Paolo Bonzini
On Sun, Jan 15, 2012 at 11:09:18PM +, Rajat Goyal wrote:
I am doing a project to build a daemonic ARM emulator using QEMU. One of
the requirements is to get the complete TCG code for any multi-threaded ARM
program that I run on QEMU. I do not need QEMU to execute the program and
show me
On Mon, Jan 16, 2012 at 10:02:22AM +0800, Charles.Tsai-蔡清海-研究發展部 wrote:
Vadim,
Thank you for your prompt reply. Here are the information for our test case.
1) we use the following command line to launch the guest OS
/usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 1024 -smp
Am 15.01.2012 08:51, schrieb Hervé Poussineau:
This bit must be active while a command is currently executed.
Signed-off-by: Hervé Poussineau hpous...@reactos.org
I believe this could use some more cleanup. The flag is set and reset
multiple times in places that aren't quite obvious. Not
Stefan,
We need the spice support in Qemu. Does qemu-kvm 1.0 support for spice?
-Original Message-
From: Stefan Hajnoczi [mailto:stefa...@gmail.com]
Sent: Monday, January 16, 2012 4:37 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: Vadim Rozenfeld; Alon Levy; spice-de...@lists.freedesktop.org; Alex
2012/1/16 Charles.Tsai-蔡清海-研究發展部 charles.t...@cloudena.com:
We need the spice support in Qemu. Does qemu-kvm 1.0 support for spice?
I believe so.
Stefan
Am 15.01.2012 08:51, schrieb Hervé Poussineau:
Stepping 1 (S82078B) is not fully i82078 compatible, so better stick to
initial revision
Signed-off-by: Hervé Poussineau hpous...@reactos.org
---
hw/fdc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/fdc.c
I currently use qemu-1.0 and I confirm that this version works fine
with SPICE.
Regards,
Dominique Rodrigues
8, rue Lemercier
75017 Paris
France
standard : +33 1 77 69 64 38
Dominique,
Thank you for your information and we will try it here.
From: Dominique Rodrigues [mailto:dominique.rodrig...@nanocloud.com]
Sent: Monday, January 16, 2012 5:51 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: Stefan Hajnoczi; spice-de...@lists.freedesktop.org; Alex Huang-黃必賢-研究發展部;
Vadim
Am 15.01.2012 08:51, schrieb Hervé Poussineau:
Floppies must be read at a specific transfer rate, depending of its own
format.
Update floppy description table to include required transfer rate.
Signed-off-by: Hervé Poussineau hpous...@reactos.org
---
block.c | 74
On Mon, Jan 16, 2012 at 03:51:16PM +0900, Isaku Yamahata wrote:
Thank you for your info.
I suppose I found the cause, MSR_KVM_WALL_CLOCK and MSR_KVM_SYSTEM_TIME.
Your kernel enables KVM paravirt_ops, right?
Although I'm preparing the next path series including the fixes,
you can also try
Am 15.01.2012 08:51, schrieb Hervé Poussineau:
The seek command just sends step pulses to the drive and doesn't care if
there is a medium inserted of if it is banging the head against the drive.
Signed-off-by: Hervé Poussineau hpous...@reactos.org
---
hw/fdc.c | 13 ++---
1
Stefan,
Can I replace both vireo-pci.c virtio-serial.h files from Qemu 1.0 source tree?
Both files are to initialize the vioserial device when launching a VM.
-Original Message-
From: Stefan Hajnoczi [mailto:stefa...@gmail.com]
Sent: Monday, January 16, 2012 5:49 PM
To:
2012/1/16 Charles.Tsai-蔡清海-研究�l展部 charles.t...@cloudena.com:
Can I replace both vireo-pci.c virtio-serial.h files from Qemu 1.0 source
tree?
Both files are to initialize the vioserial device when launching a VM.
I suspect that will not work due to larger scale refactoring and
changes that
Am 16.01.2012 10:28, schrieb Stefan Hajnoczi:
Most of the codebase as been converted to use glib memory allocation
functions. There are still a few instances of malloc/calloc in the
block layer and qemu-io. Replace them, especially since they do not
check the strdup/malloc/calloc return
On Fri, 13 Jan 2012 13:14:02 +
Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote:
Note: This is a resend of v5 because the emails I sent earlier today
disappeared.
This series adds the 'block_stream' command which copies the contents of a
backing file into the image file while the VM is
On 13.01.2012, at 02:44, David Gibson wrote:
On Fri, Jan 13, 2012 at 03:23:37AM +0200, Michael S. Tsirkin wrote:
On Fri, Jan 13, 2012 at 11:26:12AM +1100, David Gibson wrote:
On Thu, Jan 12, 2012 at 03:32:32PM +0200, Michael S. Tsirkin wrote:
On Thu, Jan 12, 2012 at 04:46:22PM +1100, David
On 16 January 2012 00:46, Andreas Färber afaer...@suse.de wrote:
diff --git a/hw/milkymist-vgafb_template.h b/hw/milkymist-vgafb_template.h
index 69af9ef..544b55e 100644
--- a/hw/milkymist-vgafb_template.h
+++ b/hw/milkymist-vgafb_template.h
@@ -39,7 +39,7 @@
#elif BITS == 24
#define
On Sun, Jan 15, 2012 at 02:38:52PM +0200, Avi Kivity wrote:
On 01/13/2012 01:11 PM, Vasilis Liaskovitis wrote:
Signed-off-by: Vasilis Liaskovitis vasilis.liaskovi...@profitbricks.com
---
hw/acpi_piix4.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff
On Fri, Jan 13, 2012 at 07:27:01PM -0500, Kevin O'Connor wrote:
On Fri, Jan 13, 2012 at 12:11:30PM +0100, Vasilis Liaskovitis wrote:
Signed-off-by: Vasilis Liaskovitis vasilis.liaskovi...@profitbricks.com
The SeaBIOS change is okay with me, but the qemu/kvm change needs to
be accepted
On Mon, Jan 16, 2012 at 08:04:32AM +0100, Daniel Espling wrote:
Hi Daniel,
please find the output of xdpyinfo and xprop attached, I checked the output
from both the linux server side and the OSX client, but the only difference
is the name of display parameter so I included only that of the
On 16 January 2012 00:46, Andreas Färber afaer...@suse.de wrote:
+#if defined(CONFIG_SOLARIS) CONFIG_SOLARIS_VERSION 10
+/* uint_fast8_t and uint_fast16_t not in sys/int_types.h */
+typedef unsigned char uint_fast8_t;
+typedef unsigned int uint_fast16_t;
+#endif
If you
Am 16.01.2012 12:38, schrieb Peter Maydell:
On 16 January 2012 00:46, Andreas Färber afaer...@suse.de wrote:
+#if defined(CONFIG_SOLARIS) CONFIG_SOLARIS_VERSION 10
+/* uint_fast8_t and uint_fast16_t not in sys/int_types.h */
+typedef unsigned char uint_fast8_t;
+typedef unsigned
Am 16.01.2012 12:27, schrieb Peter Maydell:
On 16 January 2012 00:46, Andreas Färber afaer...@suse.de wrote:
diff --git a/hw/milkymist-vgafb_template.h b/hw/milkymist-vgafb_template.h
index 69af9ef..544b55e 100644
--- a/hw/milkymist-vgafb_template.h
+++ b/hw/milkymist-vgafb_template.h
@@
On 16 January 2012 12:13, Andreas Färber afaer...@suse.de wrote:
Am 16.01.2012 12:38, schrieb Peter Maydell:
On 16 January 2012 00:46, Andreas Färber afaer...@suse.de wrote:
+#if defined(CONFIG_SOLARIS) CONFIG_SOLARIS_VERSION 10
+/* uint_fast8_t and uint_fast16_t not in sys/int_types.h */
Thanks for your text, Stefan.
The situation is like this. The most basic multi-threaded program (using
pthreads) which just prints something like I am Thread 1 and I am Thread
2 does not work over the QEMU user emulator. There are no output messages
saying I am thread 1 etc. when the program
On 01/16/2012 01:32 PM, Vasilis Liaskovitis wrote:
On Sun, Jan 15, 2012 at 02:38:52PM +0200, Avi Kivity wrote:
On 01/13/2012 01:11 PM, Vasilis Liaskovitis wrote:
Signed-off-by: Vasilis Liaskovitis vasilis.liaskovi...@profitbricks.com
---
hw/acpi_piix4.c | 15 +++
1
Am 16.01.2012 13:21, schrieb Peter Maydell:
On 16 January 2012 12:13, Andreas Färber afaer...@suse.de wrote:
Am 16.01.2012 12:38, schrieb Peter Maydell:
On 16 January 2012 00:46, Andreas Färber afaer...@suse.de wrote:
+#if defined(CONFIG_SOLARIS) CONFIG_SOLARIS_VERSION 10
+/* uint_fast8_t
On 16 January 2012 12:23, Rajat Goyal rajat.goyal...@gmail.com wrote:
The situation is like this. The most basic multi-threaded program (using
pthreads) which just prints something like I am Thread 1 and I am Thread
2 does not work over the QEMU user emulator. There are no output messages
Hi,
I'd like you to ask if/why is guest agent socked being closed upon guest
reboot. I am using virtserialport to talk to guest agent:
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/f16x86_64.agent,server,nowait
-device
On 14.01.2012, at 00:33, Andreas Färber wrote:
Hello Alex,
As discussed recently, here's two patches to update the ppc entries in
MAINTAINERS. They're based on ppc-next.
Intent is to have get_maintainers.pl pick up you and qemu-ppc for ppc files.
Thanks, applied all to ppc-next.
Alex
On 01/16/2012 03:18 AM, Hannes Reinecke wrote:
On 01/13/2012 05:14 PM, Anthony Liguori wrote:
On 01/13/2012 05:19 AM, Hannes Reinecke wrote:
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
I've tested it to work with Linux, Windows Vista, and Windows7.
Changes since v8:
-
On 01/13/2012 10:54 AM, Andreas Färber wrote:
Am 13.01.2012 12:19, schrieb Hannes Reinecke:
+if (desc) {
+trace_megasas_readl_reg(mmio, desc, retval);
+} else {
+trace_megasas_readl(mmio, addr, retval);
+}
Drop _reg version?
Didn't review the SCSI bits. Patch is
I'll be offline until next Monday (inclusive). Please send kvm patches
to Marcelo, as usual. Urgent or non-core memory API fixes can go to
Anthony, I'll review core memory patches, if any, when I return.
--
error compiling committee.c: too many arguments to function
On 01/16/2012 02:39 PM, Anthony Liguori wrote:
On 01/13/2012 10:54 AM, Andreas Färber wrote:
Am 13.01.2012 12:19, schrieb Hannes Reinecke:
+if (desc) {
+trace_megasas_readl_reg(mmio, desc, retval);
+} else {
+trace_megasas_readl(mmio, addr, retval);
+}
Drop
On 16.01.2012, at 14:59, Hannes Reinecke wrote:
On 01/16/2012 02:39 PM, Anthony Liguori wrote:
On 01/13/2012 10:54 AM, Andreas Färber wrote:
Am 13.01.2012 12:19, schrieb Hannes Reinecke:
+if (desc) {
+trace_megasas_readl_reg(mmio, desc, retval);
+} else {
+
Am 05.01.2012 18:13, schrieb Andreas Färber:
Since 0c90c52fab5ea92d7f12b29bfe26a7cd75d9efcb (ppc_prep: convert to memory
API) OHW was Trying to execute code outside RAM or ROM at 0xfff00700.
The BIOS MemoryRegion is created with a fixed size of 1 MiB.
Ensure that the full size can be
Am 13.01.2012 18:35, schrieb Andreas Färber:
This simplifies the code later when the i8259 moves to the i82378
PCI-ISA bridge and happens to fix a SysBus m48t59 io_base issue
introduced by commit 0fb56ffc5edd66f12ccfc0d71af5f9c79c0a2612 (m48t59:
drop obsolete address base arithmetic).
When qemu-nbd becomes a daemon it calls daemon(3) with
nochdir=0, so daemon(3) changes current directory to /.
But at this time, qemu-nbd did not open any user-specified
files yet, so by changing current directory, all non-absolute
paths becomes wrong. The solution is to pass nochdir=1 to
On 01/16/2012 04:05 PM, Alexander Graf wrote:
But the emulation itself would be pretty pointless to split up ...
You could add the header in a separate first patch :)
That makes reviewing harder, not easier.
--
error compiling committee.c: too many arguments to function
Am 13.01.2012 20:03, schrieb Andreas Färber:
Andreas Färber (8):
prep: qdev'ify Raven host bridge (PCIDevice)
prep_pci: Simplify I/O endianness
Applied 1-2 to prep-up branch:
http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/prep-up
/-F
prep_pci: Update I/O to MemoryRegion ops
Am 15.01.2012 10:19, schrieb Avi Kivity:
On 01/13/2012 05:09 AM, Andreas Färber wrote:
Convert to new-style read/write callbacks.
-static uint32_t PPC_PCIIO_readl (void *opaque, target_phys_addr_t addr)
+static uint64_t ppc_pci_io_read(void *opaque, target_phys_addr_t addr,
+
On 01/16/2012 07:26 AM, Michal Privoznik wrote:
Hi,
I'd like you to ask if/why is guest agent socked being closed upon guest
reboot. I am using virtserialport to talk to guest agent:
-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/f16x86_64.agent,server,nowait
-device
On 16.01.2012, at 15:50, Avi Kivity wrote:
On 01/16/2012 04:05 PM, Alexander Graf wrote:
But the emulation itself would be pretty pointless to split up ...
You could add the header in a separate first patch :)
That makes reviewing harder, not easier.
Oh, really? It's basically
On 01/16/2012 05:35 PM, Alexander Graf wrote:
On 16.01.2012, at 15:50, Avi Kivity wrote:
On 01/16/2012 04:05 PM, Alexander Graf wrote:
But the emulation itself would be pretty pointless to split up ...
You could add the header in a separate first patch :)
That makes
On 16.01.2012, at 16:38, Avi Kivity wrote:
On 01/16/2012 05:35 PM, Alexander Graf wrote:
On 16.01.2012, at 15:50, Avi Kivity wrote:
On 01/16/2012 04:05 PM, Alexander Graf wrote:
But the emulation itself would be pretty pointless to split up ...
You could add the header in a separate
On Fri, 13 Jan 2012 14:48:04 -0700
Eric Blake ebl...@redhat.com wrote:
On 01/13/2012 12:15 PM, Luiz Capitulino wrote:
The guest-suspend command supports three modes:
o hibernate (suspend to disk)
o sleep (suspend to ram)
o hybrid(save RAM contents to disk, but suspend
On 01/16/2012 04:49 PM, Hannes Reinecke wrote:
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
I've tested it to work with Linux, Windows Vista, and Windows7.
Hmm. I bet it'll be rejected now because it doesn't say '[v10]' in
the subject :-(
Better to set low expectation
On 01/16/2012 05:39 PM, Alexander Graf wrote:
Oh well, isn't it great how everyone is different?
Everyone except me.
--
error compiling committee.c: too many arguments to function
As all devices undergo a reset prior to vmloa, and the reset value of
irr is 0, we do not need to do this clearing for older vmstates
explicitly. Dropping this redundant code will also make KVM integration
a bit simpler.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/ioapic.c | 12
This introduces the KVM-accelerated IOAPIC model 'kvm-ioapic' and
extends the IRQ routing setup by the 0-2 redirection when needed.
The kvm-ioapic model has a property that allows to define its GSI base
for injecting interrupts into the kernel model. This will allow to
disentangle PIC and IOAPIC
Rename msix_supported to msi_supported and control MSI and MSI-X
activation this way. That was likely to original intention for this
flag, but MSI support came after MSI-X.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/msi.c |8
hw/msi.h |2 ++
hw/msix.c |9
To enable migration between accelerated and non-accelerated APIC models,
we will need to handle the timer saving and restoring specially and can
no longer rely on the automatics of VMSTATE_TIMER. Specifically,
accelerated model will not start any QEMUTimer.
This patch therefore factors out the
The in-kernel i8259 and IOAPIC backends for KVM will need this, so
encapsulate the shared bits.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
hw/apic.c| 11 ---
hw/apic.h|1 +
trace-events |2 +-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git
Introduce the alternative 'kvm-i8259' device model that exploits KVM
in-kernel acceleration.
The PIIX3 initialization code is furthermore extended by KVM specific
IRQ route setup. GSI injection differs in KVM mode from the user space
model. As we can dispatch ISA-range IRQs to both IOAPIC and PIC
On 01/16/2012 03:51 AM, Jamie Lokier wrote:
Since you mention async-signal-safety, execlp() isn't
async-signal-safe! Last time I checked, in Glibc execlp() could call
malloc(). Also reading PATH looks at the environment, which isn't
always thread-safe either, depending on what else is
Signed-off-by: Andreas Färber andreas.faer...@web.de
Acked-by: Alexander Graf ag...@suse.de
---
MAINTAINERS |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index de2a916..148f0d2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -307,6 +307,7 @@ PReP
Drop pci_prep_init() in favor of extended device state. Inspired by
patches from Hervé and Alex.
Assign the 4 IRQs from the board after device instantiation. This moves
the knowledge out of prep_pci and allows for future machines with
different IRQ wiring (IBM 40P). Suggested by Alex.
Speaker I/O, ISA bus, i8259 PIC, RTC and DMA are no longer set up
individually by the machine. Effectively, no-op speaker I/O is replaced
by pcspk; PIT and i82374 DMA are introduced.
Signed-off-by: Hervé Poussineau hpous...@reactos.org
Remove related dead, alternative code.
Wire up PCI host
Hello,
Here's a slightly simplified qdev'ification series for PReP.
Sizes other than 1/2/4 are currently not supported, so no need to abort().
Regards,
Andreas
Changes since v4:
* Patches 1-2 were applied to prep-up, thus drop.
* Drop switch statements for prep_pci_io_{read,write}(). Suggested
Convert to new-style read/write callbacks.
Signed-off-by: Andreas Färber andreas.faer...@web.de
Cc: Alexander Graf ag...@suse.de
Cc: Michael S. Tsirkin m...@redhat.com
Cc: Avi Kivity a...@redhat.com
Cc: Benoît Canet benoit.ca...@gmail.com
---
hw/prep_pci.c | 46
Prepare Intel 82378 emulation for use by PReP platforms.
Signed-off-by: Hervé Poussineau hpous...@reactos.org
Create ISA bus in this device (suggested by Markus).
Rebase onto Memory API, mark memory ops as Little Endian.
Add VMState. Provide access to i8259 IRQs via qdev GPIOs.
Signed-off-by:
Prepare Intel 82374 emulation for use by Intel 82378 PCI-ISA bridge.
Signed-off-by: Hervé Poussineau hpous...@reactos.org
Confine to CONFIG_I82374. Add VMState.
Signed-off-by: Andreas Färber andreas.faer...@web.de
Reviewed-by: Alexander Graf ag...@suse.de
---
Makefile.objs |
This introduces the alternative APIC device which makes use of KVM's
in-kernel device model. External NMI injection via LINT1 is emulated by
checking the current state of the in-kernel APIC, only injecting a NMI
into the VCPU if LINT1 is unmasked and configured to DM_NMI.
MSI is not yet
Add the basic infrastructure to active in-kernel irqchip support, inject
interrupts into these models, and maintain IRQ routes.
Routing is optional and depends on the host arch supporting
KVM_CAP_IRQ_ROUTING. When it's not available on x86, we looe the HPET as
we can't route GSI0 to IOAPIC pin 2.
More KVM-specific devices will come, so let's start with moving the
kvmclock into a dedicated folder.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
Makefile.target|4 ++--
configure |1 +
hw/{kvmclock.c = kvm/clock.c} |4 ++--
These helpers do a full transfer from an in-memory buffer to target
memory, with support for scatter/gather lists. It will be used to
store the reply of an emulated command into a QEMUSGList provided by
the adapter.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
dma-helpers.c | 30
Here is v2 (three counting the RFC) of the virtio-scsi driver.
Unlike previous versions, it includes migration support.
The only change in the spec has been s/UNDERRUN/OVERRUN/g.
Paolo Bonzini (13):
dma-helpers: make QEMUSGList target independent
dma-helpers: add dma_buf_read and
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/scsi-bus.c | 108 +++--
hw/scsi.h | 16
2 files changed, 121 insertions(+), 3 deletions(-)
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index ff7e4f4..a1bfbbe 100644
---
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/virtio-scsi.c | 125 ++---
1 files changed, 117 insertions(+), 8 deletions(-)
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c
index 21264a1..7ad60ec 100644
--- a/hw/virtio-scsi.c
+++
Make the basic in-kernel irqchip support selectable via
-machine ...,kernel_irqchip=on. Leave it off by default until it can
fully replace user space models.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
qemu-config.c |4
qemu-options.hx |5 -
2 files changed, 8
With the upcoming sglist support, HBAs will not see any transfer_data
call and will not have a way to detect short transfers. So pass the
residual amount of data upon command completion.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/esp.c |3 ++-
hw/lsi53c895a.c |2 +-
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/ide/ahci.c | 82 +
1 files changed, 13 insertions(+), 69 deletions(-)
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index 0af201d..c6aa058 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
On Fri, Jan 13, 2012 at 6:32 PM, Anthony Liguori aligu...@us.ibm.com wrote:
+ if (strcmp(words[0], outb) == 0 ||
+ strcmp(words[0], outw) == 0 ||
+ strcmp(words[0], outl) == 0) {
+ uint16_t addr;
+ uint32_t value;
+
+ g_assert(words[1] words[2]);
+
Scatter/gather functionality uses the newly added DMA helpers. The
device can choose between doing DMA itself, or calling scsi_req_data
as usual, which will use the newly added DMA helpers to copy piecewise
to/from the destination area(s).
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
On 01/16/2012 06:59 PM, Stefan Hajnoczi wrote:
+}
+qtest_send_prefix(chr);
+qtest_send(chr, OK 0x%04x\n, value);
Endianness is a little weird here. memory.c will byteswap if target
and device endianness differ.
Imagine the case where we're on an x86 host,
Analogously to the APIC, we will reuse some parts of the user space
i8259 model for KVM. The base class provides a common device state, the
vmstate, the property list, a reset core and some shared init bits.
This also introduces a common helper to instantiate a single i8259 chip
from the
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/scsi-generic.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/hw/scsi-generic.c b/hw/scsi-generic.c
index 0aebcdd..12d7d15 100644
--- a/hw/scsi-generic.c
+++ b/hw/scsi-generic.c
@@ -59,6
On Fri, 13 Jan 2012 14:48:04 -0700
Eric Blake ebl...@redhat.com wrote:
+
+pid = fork();
+if (!pid) {
+char buf[32];
+FILE *sysfile;
+const char *arg;
+const char *pmutils_bin = pm-is-supported;
+
+if
On 01/16/2012 10:59 AM, Stefan Hajnoczi wrote:
On Fri, Jan 13, 2012 at 6:32 PM, Anthony Liguorialigu...@us.ibm.com wrote:
+if (strcmp(words[0], outb) == 0 ||
+strcmp(words[0], outw) == 0 ||
+strcmp(words[0], outl) == 0) {
+uint16_t addr;
+uint32_t value;
+
+
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/scsi-bus.c |1 +
hw/scsi-disk.c | 63 ---
2 files changed, 51 insertions(+), 13 deletions(-)
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index b774261..ff7e4f4 100644
---
On Mon, Jan 16, 2012 at 03:08:53PM -0200, Luiz Capitulino wrote:
On Fri, 13 Jan 2012 14:48:04 -0700
Eric Blake ebl...@redhat.com wrote:
+
+pid = fork();
+if (!pid) {
+char buf[32];
+FILE *sysfile;
+const char *arg;
+
Split up the IOAPIC analogously to APIC and i8259. KVM will share the
IOAPICCommonState, the vmstate, reset logic and certain init parts with
the user space model.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
Makefile.target |2 +-
hw/ioapic.c | 130
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/scsi-disk.c | 59 ---
1 files changed, 55 insertions(+), 4 deletions(-)
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index 28b217c..4465d76 100644
--- a/hw/scsi-disk.c
+++
On 01/13/2012 07:32 PM, Anthony Liguori wrote:
This will run all tests through gtester. The main targets are:
$ make check
Which will run each unit test and:
$ make check-report.html
Which will generate a nice HTML report of the test status.
Looks like there isn't any documentation about
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/virtio-scsi.c | 110 +++--
1 files changed, 97 insertions(+), 13 deletions(-)
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c
index b34c14f..21264a1 100644
--- a/hw/virtio-scsi.c
+++
On Mon, 16 Jan 2012 17:13:39 +
Daniel P. Berrange berra...@redhat.com wrote:
On Mon, Jan 16, 2012 at 03:08:53PM -0200, Luiz Capitulino wrote:
On Fri, 13 Jan 2012 14:48:04 -0700
Eric Blake ebl...@redhat.com wrote:
+
+pid = fork();
+if (!pid) {
+
qemu-system-i386 -m 320 -hda mikrotik.img
qemu-system-i386: slirp/arp_table.c:75: arp_table_search: Assertion `(ip_addr
(__extension__ ({ register unsigned int __v, __x = (~(0xf 28)); if
(__builtin_constant_p (__x)) __v = __x) 0xff00) 24) | (((__x)
0x00ff) 8) | (((__x)
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Add a useless virtio SCSI HBA device:
qemu -device virtio-scsi-pci
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
Makefile.target |1 +
On Mon, 16 Jan 2012 15:18:37 -0200
Luiz Capitulino lcapitul...@redhat.com wrote:
On Mon, 16 Jan 2012 17:13:39 +
Daniel P. Berrange berra...@redhat.com wrote:
On Mon, Jan 16, 2012 at 03:08:53PM -0200, Luiz Capitulino wrote:
On Fri, 13 Jan 2012 14:48:04 -0700
Eric Blake
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/virtio-scsi.c | 50 +-
1 files changed, 49 insertions(+), 1 deletions(-)
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c
index 7ad60ec..f5cecfc 100644
--- a/hw/virtio-scsi.c
+++
Introduce a memory region type that can reserve I/O space. Such regions
are useful for modeling I/O that is only handled outside of QEMU, i.e.
in the context of an accelerator like KVM.
Any access to such a region from QEMU is a bug, but could theoretically
be triggered by guest code (DMA to
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
dma.h | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dma.h b/dma.h
index a13209d..d50019b 100644
--- a/dma.h
+++ b/dma.h
@@ -17,6 +17,13 @@
typedef struct ScatterGatherEntry ScatterGatherEntry;
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/virtio-scsi.c | 142 +-
1 files changed, 140 insertions(+), 2 deletions(-)
The KVM in-kernel APIC model will reuse parts of the user space model
while providing the same frontend view to guest and most management
interfaces.
Factor out an APIC base class to encapsulate those parts that will be
shared by user space and KVM model. This class offers callback hooks for
1 - 100 of 180 matches
Mail list logo