Skip to contentSkip to conversation

no default ioreq server?

DISCUSSION Jan Beulich 2 participants 4 messages Jun 12, 2015

lore
Share & tools
lore
#0 lore raw

Paul,

looks like guests nowadays run without a default ioreq server. Is that intended to be that way? Having noticed it and having looked at qemuu I certainly can't see how one would be set up. Yet without one send_timeoffset_req() can't possibly work, and after having seen "Unsuccessful timeoffset update" every once in a while over the last couple of weeks I finally took the time to look into what this would be caused by. Considering that reading the respective HVM params appears to be intentionally bypassed by qemuu, I also can't immediately see how this should be fixed.

Thanks, Jan

#1 lore raw
Quoted 9 lines

-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: 12 June 2015 15:41
To: Paul Durrant
Cc: xen-devel
Subject: no default ioreq server?

Paul,

Quoted 10 lines

looks like guests nowadays run without a default ioreq server. Is that intended to be that way? Having noticed it and having looked at qemuu I certainly can't see how one would be set up. Yet without one send_timeoffset_req() can't possibly work, and after having seen "Unsuccessful timeoffset update" every once in a while over the last couple of weeks I finally took the time to look into what this would be caused by. Considering that reading the respective HVM params appears to be intentionally bypassed by qemuu, I also can't immediately see how this should be fixed.

Jan,

Upstream QEMU actually ignored these ioreqs anyway (see http://xenbits.xen.org/gitweb/?p=staging/qemu-upstream-unstable.git;f=xen-hvm.c;hb=HEAD#l951), so I wasn't too worried that there was any regression in moving away from it being a default server. I agree the printks are a bit annoying though (and they are straight printks rather than gdprintks).

I guess there's a couple of ways to tackle it. Either we have another hvm op to allow an emulator to ask for TIMEOFFSET ioreqs, or we just broadcast them. The latter is pretty simple to implement.

Paul

Quoted 1 line

Thanks, Jan

#2 lore raw
Quoted 20 lines
Quoted 10 lines
Quoted 1 line · On 12.06.15 at 17:39, <[email protected]> wrote:

-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: 12 June 2015 15:41
To: Paul Durrant
Cc: xen-devel
Subject: no default ioreq server?

Paul,

Quoted 9 lines

looks like guests nowadays run without a default ioreq server. Is that intended to be that way? Having noticed it and having looked at qemuu I certainly can't see how one would be set up. Yet without one send_timeoffset_req() can't possibly work, and after having seen "Unsuccessful timeoffset update" every once in a while over the last couple of weeks I finally took the time to look into what this would be caused by. Considering that reading the respective HVM params appears to be intentionally bypassed by qemuu, I also can't immediately see how this should be fixed.

Quoted 3 lines

Upstream QEMU actually ignored these ioreqs anyway (see
http://xenbits.xen.org/gitweb/?p=staging/qemu-upstream-unstable.git;f=xen-hvm.c;
hb=HEAD#l951),

Which is a bug / missing functionality afaict, or is there any replacement functionality in qemuu?

Quoted 7 lines

so I wasn't too worried that there was any regression in moving away from it being a default server. I agree the printks are a bit annoying though (and they are straight printks rather than gdprintks).

I guess there's a couple of ways to tackle it. Either we have another hvm
op to allow an emulator to ask for TIMEOFFSET ioreqs, or we just broadcast them. The latter is pretty simple to implement.

I.e. I guess that's the way to go then.

Jan

#3 lore raw
Quoted 27 lines

-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: 12 June 2015 16:52
To: Paul Durrant
Cc: xen-devel
Subject: RE: no default ioreq server?

Quoted 20 lines
Quoted 19 lines
Quoted 1 line · On 12.06.15 at 17:39, <[email protected]> wrote:

-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: 12 June 2015 15:41
To: Paul Durrant
Cc: xen-devel
Subject: no default ioreq server?

Paul,

looks like guests nowadays run without a default ioreq server. Is that intended to be that way? Having noticed it and having looked at qemuu I certainly can't see how one would be set up. Yet without one send_timeoffset_req() can't possibly work, and after having seen "Unsuccessful timeoffset update" every once in a while over the last couple of weeks I finally took the time to look into what this would be caused by. Considering that reading the respective HVM params appears to be intentionally bypassed by qemuu, I also can't immediately see how this should be fixed.

Quoted 8 lines
Quoted 2 lines

Upstream QEMU actually ignored these ioreqs anyway (see
http://xenbits.xen.org/gitweb/?p=staging/qemu-upstream-

unstable.git;f=xen-hvm.c;

Quoted 1 line

hb=HEAD#l951),

Which is a bug / missing functionality afaict, or is there any replacement functionality in qemuu?

Not that I am aware of. I don't know why it was left out.

Quoted 10 lines
Quoted 7 lines

so I wasn't too worried that there was any regression in moving away from it being a default server. I agree the printks are a bit annoying though (and they are straight printks rather than gdprintks).

I guess there's a couple of ways to tackle it. Either we have another hvm
op to allow an emulator to ask for TIMEOFFSET ioreqs, or we just broadcast them. The latter is pretty simple to implement.

I.e. I guess that's the way to go then.

Yes, I think so. I'm in the neighbourhood with my emulation cleanup series so I'll chuck together a patch.

Paul

Quoted 1 line

Jan