Hi everyone,
Sheepdog is a distributed storage system for KVM/QEMU. It provides
highly available block level storage volumes to VMs like Amazon EBS.
Sheepdog supports advanced volume management features such as snapshot,
cloning, and thin provisioning. Sheepdog runs on several tens or hundreds
of
Alexander Graf wrote:
This is the resulting code. Please comment on things you like and also on the
ones you don't :-).
I've reviewed and tested it, great work Alex :-)
Also to actually run this code you need a patch for an ugly bug in the kernel
module: http://alex.csgraf.de/psw.patch
Well, i
Alexander Graf wrote:
++static int s390_cpu_initial_reset(CPUState *env)
+{
+/* XXX */
+fprintf(stderr, "XXX SIGP init\n");
+return -1;
+}
That one will really break SMP. Most of the initial reset is handled
in-kernel for your convenience, therefore please think about using Kuli
a
Alexander Graf wrote:
S390 requires vmas for guests to be < 256 GB. So we need to directly export
mmaps "try to use this vma as start address" feature to not accidently get
over that limit.
Hmmh, now that x86 has solved all the problems we should probably move
away from using the same page table
Hello,
2009/9/30 Anthony Liguori :
> Hi,
>
> Now that 0.11.0 is behind us, it's time to start thinking about 0.12.0.
> o storage live migration
Sorry for a bit off topic. But, my special NBD server can do this
independently of VMM implementations.
See http://bitbucket.org/hirofuchi/xnbd/wiki/Ho
On (Tue) Oct 20 2009 [16:02:16], Gerd Hoffmann wrote:
> On 10/20/09 11:48, Amit Shah wrote:
>> On (Tue) Oct 20 2009 [10:51:30], Gerd Hoffmann wrote:
@@ -107,3 +107,41 @@ static void virtcon_register(void)
virtio_serial_port_qdev_register(&virtcon_info);
}
device_ini
Hi,
Suppose I use two cores, smp environment.I am wondering when QEMU switches CPUs
and the time when the interrupt is raised.I've observed that every time
cpu_interrupt is executed, there will be a cpu switch.CPU switch means the
current running vCPU will stop and the other vCPU will run, sinc
Hi,
sorry for replying late,
2009/10/14 Juan Quintela :
> I have another problem with the driver: depth.
>
> I have to change s->depth to 32 in vmsvga_reset() to make it work
> correctly on my setup (default qemu.git tree, i.e. nothing fancy),
> running with sdl. Any clue here?
>
> Anthony thinks
I saw MSR EFER and MSR STAR were saved to vmstate on target-x86_64 only.But
MSR EFER and MSR STAR can be accessed on target-i386,so should MSR EFER and
MSR STAR be saved to vmstate on target-i386 too?
--
View this message in context:
http://www.nabble.com/Should-MSR-EFER-and-MSR-STAR-be-saved-
cirrus_post_load() will be executed twice when loading vm states and then the
wrong physical memory will be registered. This issue may lead to crash qemu.
---
hw/cirrus_vga.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 9dfe76a.
Hi...
On Wed, Oct 21, 2009 at 12:08 AM, Daniel P. Berrange
wrote:
> The problem with adding lots of magic key-sequences, is that the more
> you add, the more likely they are to clash with something that the
> guest OS wants to use. You may make this use case work, but break
> someone else's use c
On 10/20/2009 08:39 PM, Mark McLoughlin wrote:
On Thu, 2009-10-08 at 22:37 +0200, Michael S. Tsirkin wrote:
With commit ee3993069ff55fa6f1c64daf1e09963e340db8e4,
"posix-aio-compat: avoid signal race when spawning a thread"
winxp installation on a raw format file fails
during disk format, with a
On Thu, 2009-10-08 at 22:37 +0200, Michael S. Tsirkin wrote:
> With commit ee3993069ff55fa6f1c64daf1e09963e340db8e4,
> "posix-aio-compat: avoid signal race when spawning a thread"
> winxp installation on a raw format file fails
> during disk format, with a message "your
> disk may be damaged".
>
>
Hi,
On Mon Oct 19, 2009 at 10:30:12 +0200, Kevin Wolf wrote:
> Am 14.10.2009 18:11, schrieb Adam Lackorzynski:
> > Subject: [PATCH 3/3] multiboot: Support arbitrary number of modules
> >
> > Signed-off-by: Adam Lackorzynski
>
> Looks good in general. I'm adding some minor comments inline.
>
>
On 10/20/2009 06:17 PM, Stefan Weil wrote:
This patch makes make quiet again.
There is already a similar patch from Juan Quintela,
but maybe this shorter form is preferred.
This patch would reintroduce an ordering problem between building
config*.h and building the tools, whose fix is what ma
On Tue, Oct 20, 2009 at 12:40:08PM +0200, Kevin Wolf wrote:
> Am 20.10.2009 00:20, schrieb Anthony Liguori:
> > Mulyadi Santosa wrote:
> >> IMO, it would be faster if we provide keyboard shortcuts that will
> >> stop and resume VM execution right from SDL guest interface, rather
> >> than switching
Kevin Wolf wrote:
Am 20.10.2009 00:20, schrieb Anthony Liguori:
Mulyadi Santosa wrote:
IMO, it would be faster if we provide keyboard shortcuts that will
stop and resume VM execution right from SDL guest interface, rather
than switching to console monitor first and type "s" or "c"
respe
This patch makes make quiet again.
There is already a similar patch from Juan Quintela,
but maybe this shorter form is preferred.
Signed-off-by: Stefan Weil
---
Makefile |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index e78a3d0..4d9908c 100644
Signed-off-by: Juan Quintela
---
hw/lsi53c895a.c | 242 +++
1 files changed, 83 insertions(+), 159 deletions(-)
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index a4d3a57..156727f 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -1959,
Just sent as a buffer. We put the pointer and the size
code does the rest.
Signed-off-by: Juan Quintela
---
hw/hw.h |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/hw/hw.h b/hw/hw.h
index b98f0c9..9e6ef09 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -484,6 +484,15 @@
It just needs to be able to transmit uint32_t as buffers.
I tried to change code to UINT32_ARRAY, but then we broke backwards
compatibilty.
Later, Juan.
Juan Quintela (2):
vmstate: Add VMSTATE_BUFFER_UNSAFE
lsi_scsi: port to vmstate
hw/hw.h |9 ++
hw/lsi53c895a.c | 242
On 10/19/2009 09:15 PM, Jamie Lokier wrote:
__builtin_types_compatible_p(), __builtin_choose_exper and
__attribute__((__error__)) are good for informative error messages.
Unfortunately __attribute__((__error__)) cannot be applied in this case
for several reasons:
1) it cannot apply to types
On Tue, Oct 20, 2009 at 08:25:27AM +0200, Johnny Giacomoni wrote:
> Hi everybody !
>
> I currently work on Linux (Open SUSE) to emulate a CPU (MC8270, FreeScale).
>
> I know that QEMU is designed to simulate Operating Systems, but I just want
> to emulate a CPU. It seem to be possible with QEMU.
Currently, the msrs involved in setting up pvclock are not saved over
migration and/or save/restore. This patch puts their value in special
fields in our CPUState, and deal with them using vmstate.
kvm also has to account for it, by including them in the msr list
for the ioctls.
This is a backpor
On 10/20/09 11:48, Amit Shah wrote:
On (Tue) Oct 20 2009 [10:51:30], Gerd Hoffmann wrote:
@@ -107,3 +107,41 @@ static void virtcon_register(void)
virtio_serial_port_qdev_register(&virtcon_info);
}
device_init(virtcon_register)
+static VirtIOSerialPortInfo virtserial_port_info = {
Specially Avi,
comments on this one?
2009/10/14 Glauber Costa :
> Hello people,
>
> As I promised, I am sending a very brief PoC wrt split devices and in-kernel
> irqchip.
> In this mail, I am including only the ioapic version for apreciation. I also
> have i8259,
> and apic will take me a litt
On (Tue) Oct 20 2009 [13:05:59], Richard W.M. Jones wrote:
> On Tue, Oct 20, 2009 at 05:31:23PM +0530, Amit Shah wrote:
> > How about (deprecated)? (We need to have this in some general policy of
> > deprecating command-line options.)
>
> No, the important thing is that we can detect somehow that
On Tue, Oct 20, 2009 at 05:31:23PM +0530, Amit Shah wrote:
> How about (deprecated)? (We need to have this in some general policy of
> deprecating command-line options.)
No, the important thing is that we can detect somehow that multiport
virtio console is possible for some random version of qemu
On (Tue) Oct 20 2009 [13:54:33], Dor Laor wrote:
> On 10/20/2009 09:13 AM, Amit Shah wrote:
>> Hello,
>>
>> This patch series fixes a few problems since the last send, mainly in
>> the save/restore code and a few bugs shown by the automated test suite
>> (located in a separate git repo, link below)
On (Tue) Oct 20 2009 [12:08:06], Richard W.M. Jones wrote:
> On Tue, Oct 20, 2009 at 12:43:44PM +0530, Amit Shah wrote:
> > DEF("virtioconsole", HAS_ARG, QEMU_OPTION_virtiocon, \
> > "-virtioconsole c\n" \
> > -"set virtio console\n")
> > +"define virti
On 10/20/2009 09:13 AM, Amit Shah wrote:
Hello,
This patch series fixes a few problems since the last send, mainly in
the save/restore code and a few bugs shown by the automated test suite
(located in a separate git repo, link below).
The automated test suite and a standalone interactive test p
On Tue, Oct 20, 2009 at 12:43:44PM +0530, Amit Shah wrote:
> DEF("virtioconsole", HAS_ARG, QEMU_OPTION_virtiocon, \
> "-virtioconsole c\n" \
> -"set virtio console\n")
> +"define virtio console\n")
It would be much better to add a detectable string her
qemu_savevm_state will call all registered components with 3 phases: START,
PART, END. Only the PART phase is iterative.
In case of storage live migration we have lot more data to copy then memory
and usually the dirty rate is much less then memory dirty rate. I thought
about adding an iterative p
Am 20.10.2009 00:20, schrieb Anthony Liguori:
> Mulyadi Santosa wrote:
>> IMO, it would be faster if we provide keyboard shortcuts that will
>> stop and resume VM execution right from SDL guest interface, rather
>> than switching to console monitor first and type "s" or "c"
>> respectively.
>>
>
Am 20.10.2009 11:33, schrieb Kevin Wolf:
> When using Linux AIO raw still falls back to POSIX AIO sometimes, so we should
> initialize it.
>
> Not initializing it happens to work if POSIX AIO is used by another drive, or
> if the format is not specified (probing the format uses POSIX AIO) or by pu
On Tue, Oct 13, 2009 at 01:26:25PM +0200, Bolle wrote:
> Did anybody had success to start a QEMU instance by a PHP script under
> the Apache web server ?
>
> I allow the Apache user with the help of sudoers to start the QEMU binary
> as root. I've hacked the "qemu-socket.c" to set the access mode
On (Tue) Oct 20 2009 [10:56:40], Gerd Hoffmann wrote:
> Hi,
>
>> This patch series fixes a few problems since the last send, mainly in
>> the save/restore code and a few bugs shown by the automated test suite
>> (located in a separate git repo, link below).
>
> A bit hard to review in this form,
On (Tue) Oct 20 2009 [10:51:30], Gerd Hoffmann wrote:
>> @@ -107,3 +107,41 @@ static void virtcon_register(void)
>> virtio_serial_port_qdev_register(&virtcon_info);
>> }
>> device_init(virtcon_register)
>
>> +static VirtIOSerialPortInfo virtserial_port_info = {
>> +.qdev.name = "v
When using Linux AIO raw still falls back to POSIX AIO sometimes, so we should
initialize it.
Not initializing it happens to work if POSIX AIO is used by another drive, or
if the format is not specified (probing the format uses POSIX AIO) or by pure
luck (e.g. it doesn't seem to happen any more wi
Hi,
This patch series fixes a few problems since the last send, mainly in
the save/restore code and a few bugs shown by the automated test suite
(located in a separate git repo, link below).
A bit hard to review in this form, especially the virtio-console.c
changes, because you put everythi
@@ -107,3 +107,41 @@ static void virtcon_register(void)
virtio_serial_port_qdev_register(&virtcon_info);
}
device_init(virtcon_register)
+static VirtIOSerialPortInfo virtserial_port_info = {
+.qdev.name = "virtserialport",
+.qdev.size = sizeof(VirtConsole),
+.init
+static VirtIOSerialPortInfo virtcon_info = {
+.qdev.name = "virtconsole",
+.qdev.size = sizeof(VirtConsole),
+.init = vcon_initfn,
+.have_data = flush_buf,
+.qdev.props = (Property[]) {
+DEFINE_PROP_CHR("chardev", VirtConsole, chr),
+DEFINE
On 20.10.2009, at 10:36, Carsten Otte wrote:
Alexander Graf wrote:
++static int s390_cpu_initial_reset(CPUState *env)
+{
+/* XXX */
+fprintf(stderr, "XXX SIGP init\n");
+return -1;
+}
That one will really break SMP. Most of the initial reset is
handled in-kernel for your conven
On Tue, Oct 20, 2009 at 10:16:09AM +0700, Mulyadi Santosa wrote:
> Hi Anthony...
>
> On Tue, Oct 20, 2009 at 5:20 AM, Anthony Liguori
> wrote:
> > Mulyadi Santosa wrote:
> >>
> >> IMO, it would be faster if we provide keyboard shortcuts that will
> >> stop and resume VM execution right from SDL
On 10/20/09 05:16, Mulyadi Santosa wrote:
As these message scrolls fast, I find it more intuitive if we could
just press a key to pause the guest, giving us enough time to capture
the display and resume the execution. If we switch to qemu monitor
first, most of the time we already lost the moment
This patch adds generic serial ports over the virtio serial bus.
These ports have a few more options that are not relevant for
virtio console ports: the ability to cache buffers that are
received for a port while it's disconnected, setting of limits
to the bytes that are cached so as to prevent OOM
This patch migrates virtio-console to the qdev infrastructure and
creates a new virtio-serial bus on which multiple ports are exposed as
devices. The bulk of the code now resides in a new file with
virtio-console.c being just a simple qdev device.
This interface enables spawning of multiple virtio
From: Gerd Hoffmann
Signed-off-by: Gerd Hoffmann
Signed-off-by: Amit Shah
---
hw/qdev-properties.c | 28
hw/qdev.h|4
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/hw/qdev-properties.c b/hw/qdev-properties.c
index 5c627fa..8
Hello,
This patch series fixes a few problems since the last send, mainly in
the save/restore code and a few bugs shown by the automated test suite
(located in a separate git repo, link below).
The automated test suite and a standalone interactive test program are
located at
http://fedorapeo
The OPENED event gets sent also when qemu resets its state initially.
The consumers of the event aren't interested in receiving this event
on reset.
Signed-off-by: Amit Shah
---
qemu-char.c |7 ++-
qemu-char.h |2 ++
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/qemu
text_console_init is called as the initialiser function for the 'vc'
char backend. This function doesn't call qemu_chr_reset(), that emits
the OPENED event.
This fixes the help text and initial prompt display when the monitor
is started in its default options -- as a vc backend to sdl or vnc.
Sig
The char event RESET is emitted when a char device is opened.
Give it a better name.
Signed-off-by: Amit Shah
---
gdbstub.c |2 +-
hw/baum.c |2 +-
hw/usb-serial.c |2 +-
monitor.c |2 +-
qemu-char.c |2 +-
qemu-char.h |2 +-
6 files changed, 6 i
At init, qemu_chr_reset is always called with initial_reset_issued set to 1.
So checking for it to be set is not necessary.
Signed-off-by: Amit Shah
---
qemu-char.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 8084a67..8f7f81c 10064
Hello,
These are fixes for qemu's char layer. All of the patches have been sent
earlier, this is just a resend with the fix for console char devs included
in the series that was sent separately earlier.
Amit Shah (4):
char: check for initial_reset_issued unnecessary
char: rename CHR_EVENT_RES
54 matches
Mail list logo