diff options
| author | Neel Natu <neel@FreeBSD.org> | 2013-12-22 20:29:59 +0000 |
|---|---|---|
| committer | Neel Natu <neel@FreeBSD.org> | 2013-12-22 20:29:59 +0000 |
| commit | f80330a8209163c502d7cc20a3a10653e6625fea (patch) | |
| tree | 66efb0970171fd3f201a04eac029940c629cfffb /usr.sbin | |
| parent | 85838e48bd0aed4296659a3eb432d2cb58cb6658 (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/bhyve/bhyverun.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index 7afac4938ef6..4fc034c4f3fe 100644 --- a/usr.sbin/bhyve/bhyverun.c +++ b/usr.sbin/bhyve/bhyverun.c @@ -485,19 +485,8 @@ vm_loop(struct vmctx *ctx, int vcpu, uint64_t rip) while (1) { error = vm_run(ctx, vcpu, rip, &vmexit[vcpu]); - if (error != 0) { - /* - * It is possible that 'vmmctl' or some other process - * has transitioned the vcpu to CANNOT_RUN state right - * before we tried to transition it to RUNNING. - * - * This is expected to be temporary so just retry. - */ - if (errno == EBUSY) - continue; - else - break; - } + if (error != 0) + break; prevcpu = vcpu; |
